Please use code blocks when posting code. The problem, as always, is scanf. This is a REALLY SHIT way of getting user input. I honestly cannot...
Well starting a new process to read a directory and write it to a file, then to read that file, is definitely not the most efficient approach. If...
Please post the *exact* error messages. Do not attempt to reinterpret them; you remove the essential information that helps experts determine the...
It's a classic debugging error to decide the problem can't possibly be in a certain place. OK, let's say you're correct. Comment out the...
There's nothing in C itself; you will have to use a platform-specific system call. Trouble is, you haven't said what platform.........
I see you're fairly new here. Think through this problem description for a moment. How descriptive is it? How likely is it that we'll be able...
I don't know for certain cos I've never tried it. But I can't see any reason why the example given at...
After using fgets you can still use sscanf if you really want to. But writing parsing code yourself is better; user input is usually not rigidly...
I'm not clear exactly what you want to know. What output do you get and what are you expecting? If you don't use pointers, what output do you...
Not difficult. How far have you got and where are you stuck?
The reason you get "buffer: undeclared identifier" is...er...that buffer is an undeclared identifier. Simple, eh? The plain English reading of...
English, French and German are speaking language. Tell me about its difference.
How far have you got and where are you stuck? Do you understand the requirements? How do you intend to convert the XML tree-like structure into a...
scanf is a crap way of getting user input. Use fgets instead and parse the string.
Also putting a backslash in the middle of the name will make it tricky to access. Try just calling the file "unicode.txt", or if you meant...
You don't close the file, so maybe the data is lost on exit. Try explicitly closing the file after you've written to it.
The code doesn't compile as given; it's class not Class, and buffer isn't defined, and the program doesn't display any output. So this isn't the...
How exactly do you need help? You appear to have written *some* software. Does it work? Do the programs go wrong? How exactly do they go wrong?...
What happens when you try?
Two solutions. (1) you can call system("notepad.exe srv.txt"); which should do the trick (you may need to add paths into that). (2) (I think) you...
Separate names with a comma.