- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 5
- Posts with Downvotes
- 3
- Downvoting Members
- 5
4 Posted Topics
Re: [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);} … | |
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 … | |
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 | |
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 … |