Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
22% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
5
Posts with Downvotes
3
Downvoting Members
5
4 Commented Posts
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for dalaharp

[QUOTE=dalaharp;95999]Hi, i would like to calculate the execution time of my program. is there any function available to enable it??[/QUOTE] 0 For what it's worth, here's one that's just a few macros: [code] #include <time.h> clock_t startm, stopm; #define START if ( (startm = clock()) == -1) {printf("Error calling clock");exit(1);} …

Member Avatar for rustysynate
0
3K
Member Avatar for javedkhan0258

I want to know how to read from a file. I have posted the first line of program.dat file before. There are more than one line in the file and i want to tokenize them and save them into different variables or pointers. Can anyone write full code how to …

Member Avatar for Aia
0
470
Member Avatar for javedkhan0258

I dont want to use strtok. I want to know how to use strsep? Any Idea. For example i have a string with delim progID|progTitle|progDescription|progCode. Help please

Member Avatar for jephthah
-1
158
Member Avatar for javedkhan0258

I have these structs. and I have two files one is program.dat and other is course.dat and I am supposed to load the values from those .dat files to the struct. The separation between attributes in program.dat and course.dat is '|' for example programID|programTitle|ProgramCode........ and I have used string tokenizer …

Member Avatar for abhimanipal
0
104