| |
| |
| |
|
Page: 1 2 3
Comments:
<0> no is not good... <0> chat test[15] = ""; test[5] = 'c' test[i] = ?? <0> chat = char* <1> Thanks for the +v <1> its my script sorry i was just lookin <1> think ill try and finish learning html b4 i learn this stuff <2> you ought to look into xhtml <3> CactusJck, HTML isn't really the same type of programming language <1> i know <2> it's actually not a prgoramming language <1> i was told to learn that stuff first b4 i learned c <2> it wont help you learn C <1> i know <3> knowing Alegbra will help <1> :P
<0> cn28h <0> i have problem with slicing... <0> http://rafb.net/paste/results/tS1kXB95.html <0> I do not arrive has to make a work loop <2> you need to check if p is NULL *after* the strchr <0> ok <0> do while... <0> whit second while? <0> http://rafb.net/paste/results/lMQbpR41.html <2> http://rafb.net/paste/results/A6JbgQ99.html <0> lol <0> thanx <0> but im not undestand youre while haha <0> p && p+ <0> p && p <2> same as <2> p != NULL && .. <2> gotta go, bbiab <0> ok <2> ok, turns out I'm sticking aroun d for a minute ;P <0> is not work... <0> I will take air before becoming insane <0> :) <2> :) <2> est <4> hey, can anyone tell me what this means? "if (ret == 1 || ret == 0)" followed by "return ret && ok;" (It is the last one I don't know what means) <0> re <5> trying to see if the program is being compiled on a windows machine or another one. How do i check this? <5> i know it's #ifdef something <5> just trying to figure what exactly "something" is. anyone? <6> anyone..? <7> _WIN32 <6> ah! <6> thanks Ashe` <6> #ifdef _WIN32 <6> blah blah blah <6> #endif <6> is that right? <8> blah blah blah wont compile <7> Maybe he's got #define blah somewhere above <8> ;-) <6> heh <6> im trying to make this code cross-platform <6> compile* cross-platform <7> Simplest is to use nothing specific to a platform ;) <6> there's this one peice of code that i want compiled only if it's a windows platform <6> like.. sockets <6> if i should define winsock header file, or the lengthy one for *nix <0> spale <0> http://rafb.net/paste/results/Kzvag239.html <0> anyone have idea for what my do while not work? <3> have you traced it step by step? <0> i try to understand <3> c-bot strchr <9> danimal, here you go: strchr - #include <string.h> char * strchr (const char *string, int c) Search Functions (ISO) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_5.html#SEC77 <0> my strchr work... <0> my while dont work...always repeat the same action <3> why is there a getch()? <0> for stop my while <3> k
<3> what is p declared as? <0> pointer to strchr <7> printf should be *p anyway <7> And it'll crash if p is NULL <0> ok <3> he's refering to line 6 <3> is p pointing to a 0 terminated string <0> i want compare m6400_mot with m6400_lettre <0> with strchr <0> but if i have 2 sames letter, i dont understand for continu reading the word after first strchr result <3> maybe it should be p != NULL <0> ok <0> is a good idea lol <6> c-bot hash tables <9> exacube, the magic 8 ball says... I do not know. <6> c-bot, google hash tables <9> exacube, searching ... <9> Hash table - Wikipedia, the free encyclopedia, "http://en.wikipedia.org/wiki/Hash_table" <9> SparkNotes: Hash Tables: What is a Hash Table?, "http://www.sparknotes.com/cs/searching/hashtables/section1.html" <9> hash table, "http://www.nist.gov/dads/HTML/hashtab.html" <9> SRFI 69: Basic hash tables, "http://srfi.schemers.org/srfi-69/srfi-69.html" <9> Hash Functions for Hash Table Lookup, "http://burtleburtle.net/bob/hash/evahash.html" <10> 10x <11> for help ask where ? <11> dbtid <12> read the topic. <11> plz Help me The Channel LEbz The channel regected :( and m*** deop for 4 month and no help me any channel help <11> so where help me my channel lebz <11> hahahah <13> what is the proper way to load dll's ? <13> [DllImport("kernel32.dll")] <13> static extern IntPtr LoadLibrary(string csPath); <13> gives errors <14> hey. If I have a variable that is required in several functions spread over a few source files what is the best approach to sharing this variable? The 3 options I see are. 1) p*** the variable into every function that requires it. 2) Declare it in the main file and declare it as 'extern' in all the supporting files. 3) Make it a static variable in the supporting files and call a set up method on each of the support files that initialises this variable (similar to pri <14> vate methods and constructors) <14> #1 seems a little unwieldy if there are several variables whereas #3 will require me to update the local copies of the variable every time its changed <13> don u just declare it as global and #include file-with-variable.h <13> ? <14> then wont it be global in every file and when i try to link them together wont it complain about re-declaring a variable? <15> define it in a header and declare it extern in each source file <14> i would only need to #include that header in the main file then, right? <15> no you'd need it in each source file that needs the global variable <15> its best to avoid global variables whenever possible anywho <7> [14:32.43] <+static3d_> define it in a header and declare it extern in each source file <7> It's the other way around <15> oops <7> zee\: and that's not C <15> yeah that makes sense <13> Ashe <13> how to do it in C ? <13> i need to include a dll into process <13> can't find howto <14> loadlibrary <13> int shlwapi = LoadLibrary("Shlwapi.dll"); <14> look in the msdn docs <13> win.o(.text+0x3b):win.c: undefined reference to `LoadLibrary' <13> collect2: ld returned 1 exit status <13> make.exe: *** [win.exe] Error 1 <13> LoadLibrary("Shlwapi.dll"); <15> well then you should include the header that 'declares' loadlibrary <13> same error <15> or lib <13> how u do it ? <14> Ashe`: what do you mean by 'the other way around'? (excuse my stupidity, lack of sleep) <15> i got the words define and declare backwards <13> static3d, can u give an example plz <15> you have to find out what header you need to include to use LoadLibrary, and if it needs a library <13> oh <13> k <14> static3d_ : ok, but if i declare it in a header file and the #include the header file in each source file isnt that the same as declaring it as a global variable in each file (and leading to errors about redeclaring a variable) or does the extern definition somehow take care of that? <14> ie. to me that sounds the same as doing <14> int x; <14> extern x; <16> if you do
Return to
#c or Go to some related
logs:
xi zobb trid #php #skype ipson anna_maria_1 what does sunteti mean in english?
Jpmaster77 a.k.a. The Grandmaster of C++ for suse #linux #AllNiteCafe
|
|