Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WernerSchwarz

    Reading data from a CSV file

    Many thanks Salem, this helps me much!
  2. WernerSchwarz

    Reading data from a CSV file

    I have to read out some data from a csv-file which is in this format: [ID], [Timestamp] ,[Temp in °C] [ID], [Timestamp] ,[Temp in °C] etc. now i wanted to read it out with the fscanf() function, but when i used it it just reads till the first space and then stops. How can i solve this problem?
  3. WernerSchwarz

    Problem with functions

    Ok problem solved your answer was right
  4. WernerSchwarz

    Problem with functions

    My first post was wrong, correct it should be like this: void myfunction(char); int main { ... } void myfunction(char string[]) { ... } Functions can't be defined like this: void myfunction(char string[]) they must be like this: void myfunction(char);
  5. WernerSchwarz

    Problem with functions

    sorry i mean void myfunction(char);
  6. WernerSchwarz

    Problem with functions

    I made it that way, but it didn't work, void myfunction(char string[]); int main { ... } void myfunction(char string[]) { ... }
  7. WernerSchwarz

    Problem with functions

    I want to make a function which can take a textstring as parameter, like this char string[5] myfunction(string); my question, how must the definition of the function look like?
  8. WernerSchwarz

    A Clock in C

    GBA (Gameboy Advanced) it has a RISC processor from ARM
  9. WernerSchwarz

    A Clock in C

    Is there a possible solution without the "time.h"?
  10. WernerSchwarz

    A Clock in C

    Thanks for the quick answers, i hope they work fine.
  11. WernerSchwarz

    A Clock in C

    Does anyone know how to make a for-loop that goes 1 Second no more, no less? an idea: for (x=0;x<10000;x++) { } This should make the program wait a little while and then continue but i don't know what for a number i need for one Second.

Part and Inventory Search

Back
Top