Hey!
In your function 'replaceString' "int count1;" is not initialized. You should assign 0 or any other number to it before you start using it ("while (source[count1] != '\0')"). :)
Don't you...
Type: Posts; User: Kolazomai
Hey!
In your function 'replaceString' "int count1;" is not initialized. You should assign 0 or any other number to it before you start using it ("while (source[count1] != '\0')"). :)
Don't you...
Hey!
Compile your program with debug information (parameter '-g3' or '-ggdb'). Then run your program in GDB and once it terminates use
backtrace. This will show you the line as well as the...
Hello!
It is possible that your array of chars 'result' is not 0-terminated. As far as I know there is no guarantee that a freshly initialized char-array is 0-terminated. Therefore your while-loop...
Hi,
I'd like to programm a graphical crossplatform Client-Server-Application.
It won't be a tiny programm, so I do have some Questions before starting:
1. What Toolkit to choose ?
It should...
What's wrong with casting malloc ? I've read it in many Tutorials, I remember.
Inline variable declarations. I have to look up, what you mean with that.
No, using gcc. No Compiler-Errors.
...
Testcase failed -> Works. ^^
Going to edit soon.
Hi !
Relevant Code is in the first Post.
How about adding some "}" ?
Sorry, but everything i've written before tells you, what you want to know. Or what are you missing ?
I've also...
Hi,
Click here to download the current Source-Code ( ca. 3200 lines ). Attention: Not tested on Windows. You need MySQL-Devels ( /usr/include/mysql/mysql.h ).
tar xfz kolashare.tar.gz
cd...
I don't even get to this point. As you can see in the output, everything seems to work right until mysql_real_query( ...
I'm very sure (!) that all my arguments of mysql_real_query are OK and...
Thanks :)
Done (and edited) . Nothing changed, Problem's still there.
Hi guys!
Sorry for my bad english. It's not my native language.
I'm working for about 2 weeks on a Software-Project using the C MySQL-API.
It's a Server, that should be able to deal with...