15,903,780 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ibilalkayy (Top 28 by date)
ibilalkayy
6-Jun-21 12:41pm
View
Thank you richard!
ibilalkayy
6-Jun-21 11:59am
View
I gave the slash but still giving me the error.
ibilalkayy
16-Mar-21 10:38am
View
Please read the description I have written that a) what result I am trying to get and b) what is the output I am seeing
ibilalkayy
13-Mar-21 9:39am
View
I want to get the value of a specific subdirectory like subDir[2], from a root directory. I want to make an argument subDir in listdirs() function i.e. listdirs(rootdir, subDir[2], count) this should directly return me the value of subDir[2]
ibilalkayy
19-Feb-21 8:45am
View
I wrote the description in which I wrote that which thing is not working.
ibilalkayy
19-Feb-21 5:34am
View
I updated the code also. You can see it but it is still not working. Thanks!
ibilalkayy
19-Feb-21 5:03am
View
I updated my code, removed the global variables. combined two functions and made it one. I also updated the description. Thanks!
ibilalkayy
19-Feb-21 3:29am
View
By debugging I mean debugging. I am not an idiot. The result I showed you.
ibilalkayy
19-Feb-21 2:44am
View
It just print those messages that I showed you.
ibilalkayy
19-Feb-21 2:38am
View
The result this opendir-path not found: No such file or directory after writing the variables locally. I don't know how to solve. Will you please help me?
ibilalkayy
19-Feb-21 2:36am
View
I want it to split the string when there is "\n" but when I print the words[0], it gives me all the pathnames instead of just the first one. And when I print words[1] it shows nothing.
I debugged the code. When I print the words[0] it gives me this result.
$1 = "/home/runner/TestC1/folder1", '\000' <repeats 67="" times="">
And when I print the words[1] it gives the result.
$2 = '\000' <repeats 99="" times="">
When I print the path1 it gives me the result
$3 = '\000' <repeats 4095="" times="">
When I print the path it gives me the result
$4 = "/home/runner/TestC1/folder1", '\000' <repeats 4068="" times="">
ibilalkayy
19-Feb-21 2:36am
View
I used it but the result was not as I wast expected.
I want it to split the string when there is "\n" but when I print the words[0], it gives me all the pathnames instead of just the first one. And when I print words[1] it shows nothing.
I debugged the code. When I print the words[0] it gives me this result.
$1 = "/home/runner/TestC1/folder1", '\000' <repeats 67="" times="">
And when I print the words[1] it gives the result.
$2 = '\000' <repeats 99="" times="">
When I print the path1 it gives me the result
$3 = '\000' <repeats 4095="" times="">
When I print the path it gives me the result
$4 = "/home/runner/TestC1/folder1", '\000' <repeats 4068="" times="">
ibilalkayy
5-Feb-21 23:00pm
View
I wrote a while(1) at the top of the length = read(....). The purpose of that is to not stop monitoring until I myself close the program. But after doing that, it only print the result one time even if I modify the path again.
ibilalkayy
5-Feb-21 6:01am
View
Thank you, Richard! But here is one problem that pathname1/pathname2 is modified. This message appears two times. Although I put a break statement but it is still giving me the result two times.
ibilalkayy
23-Jan-21 5:44am
View
Actual values are the path of the filename that I browse
ibilalkayy
4-Jan-21 0:44am
View
You just adjusted the code. But the result is the same as before
ibilalkayy
2-Nov-20 11:24am
View
Bro I used while loop in another function so that I don't repeat again. But you used in the main function.
ibilalkayy
2-Nov-20 11:20am
View
@RichardMacCutchan will you please some code according to the logic. I tried but not understanding.
ibilalkayy
22-Oct-20 2:17am
View
Yeah but the problem is that I want the specific date instead of printing every date
ibilalkayy
20-Oct-20 3:40am
View
I just want to show the user that his last amount was deposited on this date.
ibilalkayy
12-Oct-20 4:57am
View
Thanks Richard!
ibilalkayy
11-Oct-20 14:14pm
View
Deleted
char* data[2];
data[0] = strtok(line, " ,");
data[1] = strtok(NULL, " ,");
In Richard's code, data[0] takes all the words from file like this
word1
word2
so on
and print it but I want to print word1 when use data[0] and word2 when use data[1].
ibilalkayy
11-Oct-20 14:14pm
View
Deleted
char* data[2];
data[0] = strtok(line, " ,");
data[1] = strtok(NULL, " ,");
In Richard's code, data[0] takes all the words from the file one by one like this
word1
word2
so on
and print it but I want to print word1 when use data[0] and word2 when use data[1].
ibilalkayy
11-Oct-20 6:32am
View
How to order it before writing?
ibilalkayy
11-Oct-20 5:22am
View
I'm not reading. I am trying to write data in the file but in an arranged way
ibilalkayy
18-Sep-20 8:01am
View
I added a break statement but it stops one-time repetition.
ibilalkayy
7-Sep-20 16:14pm
View
Thanks bro
ibilalkayy
21-Aug-20 6:41am
View
Hey Rick, I used the 2nd code but the problem which I am facing is, it only accepts the first word which has a comma at the end. The file has many words with commas at the end but it is accepting the first one. For example, if I gave the option to enter your ID card number which is not the first word. It could be the 2nd or 3rd word in the file then how I would handle it?
Show More