5,237 Posted Topics

Member Avatar for yigster

So what's the problem? For example, implement LiveCell() by calling a bunch of North() etc.

Member Avatar for yigster
0
146
Member Avatar for sanushks
Member Avatar for sanushks
0
160
Member Avatar for VMG
Member Avatar for acastella
0
112
Member Avatar for navi17

[url]http://clusty.com/search?query=3+tier+architecture&sourceid=Mozilla-search[/url]

Member Avatar for navi17
0
101
Member Avatar for szcfama

Read this [url]http://www.daniweb.com/forums/announcement8-3.html[/url] and figure out how to use code tags (there's a preview button, use that too). I didn't look at the code, because it has NO indentation. Second, figure out whether you want to be a C programmer or a C++ programmer. Because this random mix of "cin" …

Member Avatar for Daiva
0
173
Member Avatar for Generalcrix

[ICODE]cin >> tmp_array[worker_num].date; printf("\nEnter Time In (in 24hr clock format): "); scanf("%d",&tmp_array[worker_num].timein);[/ICODE] Pick either C or C++ C/C++ (what you posted) is a disaster area. There is at least one place where you've used scanf so badly that it WILL trash memory you don't own. There there's the gratuitous global …

Member Avatar for Salem
0
141
Member Avatar for coolin333

Why not just ask your question in the excellent [url]http://www.daniweb.com/forums/forum64.html[/url] forum?

Member Avatar for coolin333
0
181
Member Avatar for dirnthelord
Member Avatar for arshad115
0
151
Member Avatar for Creative!on

"worried"? You search the web for software sellers, you find a shop you like, you pay the money and the job is done.

Member Avatar for Narue
0
138
Member Avatar for kailisr

> for (code[1] = code2[1]; Perhaps you could post something which actually compiles. Then post something which is reasonably indented.

Member Avatar for tux4life
0
128
Member Avatar for still_learning

> [COLOR="Red"]Write the algorithm[/COLOR] and[COLOR="Green"] find out the time complexity for the algorithm [/COLOR] So which bit is confusing you?

Member Avatar for siddhant3s
0
156
Member Avatar for himgar

What make / model of TV Card? Have you checked their website for updated drivers? Which version of Windows?

Member Avatar for ddddyyyyy
0
157
Member Avatar for eschreibman

So what have you done so far? Try this at the command prompt [ICODE]for /?[/ICODE] The perhaps [ICODE]if /?[/ICODE] [ICODE]mkdir /?[/ICODE]

Member Avatar for Salem
0
95
Member Avatar for cool_zephyr

> i tried the following code on Turbo C++ but it didn't work.. Backwards compatibility will only take your fossil compiler so far on your nice new OS. Please don't tell me you're using XP or Vista, with some multi-cored CPU and gigs of RAM and hard disk.

Member Avatar for Salem
0
332
Member Avatar for Pramoda.M.A

> I have strong reason to say the return type of malloc is void. Following two line from MSDN are : The key word being "is". Which isn't the same as "was" or "always has been".

Member Avatar for Salem
0
130
Member Avatar for sanushks

[url]http://www.yolinux.com/TUTORIALS/GDB-Commands.html[/url] Eg. "break line-number if condition" A condition being perhaps your record number. But consider the possibility that this is where the problem is noticed first, not where it has gone wrong.

Member Avatar for sanushks
0
108
Member Avatar for sanushks

Did you recompile all the code on your solaris machine? Or did you simply copy the .exe file and hoped it would work. IT WON'T. > Is it a known issue? Yes, your code has bugs.

Member Avatar for sanushks
0
290
Member Avatar for cutieshunky

Maybe most of the rules you've already broken perhaps? [URL="http://www.daniweb.com/forums/thread78223.html"]Read This [B][COLOR="Red"]Before [/COLOR][/B]Posting [/URL]

Member Avatar for Ancient Dragon
0
105
Member Avatar for monkey_king

> valgrind complains at line 151 the strdup. But I don't know where I should deallocate. In whoever calls get_lex(), just after they've finished with the tokens would be good.

Member Avatar for monkey_king
0
131
Member Avatar for nschessnerd

You have threads, and a single unguarded global variable. You have two functions with very similar names, - sockConnect - connectSock Your 'state' global variable has two flags which seem to mean the same thing. - bool ic; - bool inuse; Can you do what you want (once) as a …

Member Avatar for nschessnerd
0
1K
Member Avatar for cool_zephyr

Sure, if you reasonably proficient with the win32 API to do that with any random bunch of text strings.

Member Avatar for Salem
0
104
Member Avatar for mawsi

You mean like this? [attach]10169[/attach] You get that when you press the middle mouse button, and it's meant to be a useful feature to allow you to slow-scroll a document without having to do anything except move the mouse to regulate the speed.

Member Avatar for mawsi
0
94
Member Avatar for towelee
Member Avatar for DimaYasny
0
86
Member Avatar for dragonflyheli

If you have a line "their therapist is over there" and you're searching "the", what would you want 0 - nothing matches the actual word "the" 1 - the line contains "the" somewhere 3 - there are three places where "the" appears

Member Avatar for dragonflyheli
0
111
Member Avatar for utkarsh sharma

You need one of two things a) [URL="http://www.imdb.com/title/tt0088763/"]A DeLorean[/URL] b) [URL="http://www.thefreecountry.com/compilers/cpp.shtml"]A Compiler which actually matches your OS[/URL] The second option is usually better, as appropriate specs for option 1 are hard to come by, what with the world's energy crisis.

Member Avatar for WaltP
1
172
Member Avatar for waldchr

So add a new source file to your project called runner.cpp All this does, is - include windows.h - implements a thin wrapper, say myRunner() round say CreateProcess() - and returns runner.h just contains the prototype of myRunner(), which in itself is NOT dependent on windows.h Include runner.h when you …

Member Avatar for waldchr
0
213
Member Avatar for scru

Do you have a decent definition of "doesn't seem to be working"? Nothing is printed? Something is printed? Your disk has been reformatted?

Member Avatar for scru
-1
159
Member Avatar for Qousio

> Obviously its just part of my code. I'm not sure why, but "if(counter > 8) draw = true;" activates every loop Is this your actual code, or part of it? Or just how you "remember" it. Some points. 1. draw is true on entry, and since there is no …

Member Avatar for ArkM
0
149
Member Avatar for towelee

Case labels are basically simple regex's. So you might be able to do this [code] [0-4]*) echo "F”;; 5*) echo "D”;; 6*) echo "C”;; 7*) echo "B”;; [89]*) echo "A”;; [/code] But the if/else logic is a bit safer, and more intuitive.

Member Avatar for Salem
0
72
Member Avatar for 35nando

> It appers only when I exit the program, and does not affect program work. You mean it doesn't affect it YET. Memory corruption problems move around the code over time (as you continue to make changes to the code). All of a sudden, you could find it happens at …

Member Avatar for neigyl_noval
0
321
Member Avatar for johnny_b_30

> What do you think is wrong? Is your compiler a real DOS compiler? Is your real OS really DOS?

Member Avatar for johnny_b_30
0
83
Member Avatar for jupkw

Or better yet, don't use one bit of technological bodge-ware to fix another bit of technological fossil-ware, and just get a compiler for the real world. One which is actually compatible with your OS, and not just happy backward compatibility convenience which will eventually stop working.

Member Avatar for vj4u99
0
256
Member Avatar for rizillion

Why don't you just post your whole exam, since you seem to know a lot about what questions ARE going to be on it. [url]http://www.daniweb.com/forums/post870168-3.html[/url] Better yet, just give us the email address of the examiner, and we can forward the answers directly, and cut out the middle-man. > Please …

Member Avatar for tux4life
0
202
Member Avatar for Usura

Same as any other pointer, [ICODE]person *ptr = &me; int *nptr = &me.name; [/ICODE]

Member Avatar for Usura
0
72
Member Avatar for rizillion

> it will be a question in my C++ exam which will be held next week. How do you know this? What's next, multi-choice papers with the correct answer displayed in the bold font? <old-fogey-mode> All the exams I ever did were seen for the first time in the exam …

Member Avatar for tux4life
0
454
Member Avatar for Stefano Mtangoo

Compare your project settings, specifically things like additional include search paths, library search paths and libraries. Doesn't code::blocks come with a "new wxwidgets" project tool to set all this up for you?

Member Avatar for Stefano Mtangoo
0
170
Member Avatar for Liszt

So, over a period of a couple of years, I do - upgrade the RAM - replace the hard disk - replace the graphics card - replace the NIC - replace the motherboard and processor. Do I still have the same machine? Overly elaborate "machine locked" software only really serves …

Member Avatar for Liszt
0
240
Member Avatar for power_computer

> After being told using scanf and printf instead of cout and cin Why? or better yet, Who said it? > because they are treated like a function instead like cout and cin being treated as a object thus equaling faster code generation Do you have references, or evidence of …

Member Avatar for Salem
0
3K
Member Avatar for add4

Or this [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url]

Member Avatar for gerbil
0
285
Member Avatar for azamalvi
Re: help

Not to mention the super-informative topic title [url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url]

Member Avatar for tux4life
0
117
Member Avatar for David2009

Next year, it'll be "My boss wants me to propose a project....." At what point were you planning to start thinking for yourself? Like we have any idea what you studied, what you're interested in, or how good at your subject you might be. Actually, the very existence of your …

Member Avatar for Salem
-1
64
Member Avatar for richardcyper
Member Avatar for jephthah
-1
89
Member Avatar for add4

[url]http://www.daniweb.com/forums/thread192307.html[/url] Try this [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url]

Member Avatar for add4
0
113
Member Avatar for peterapps1

There's a search engine [url]http://clusty.com/search?query=mac+compression+software&sourceid=Mozilla-search[/url]

Member Avatar for Salem
0
59
Member Avatar for seao111

Read this -> [url]http://www.faqs.org/rfcs/rfc2616.html[/url] Look for "Last-Modified" Just because you ask for "foo.html" from some server, that does not mean there is a file called foo.html on the remote machine. Many complex websites generate content on the fly from some database, so the concept of "age" might take on some …

Member Avatar for Salem
0
149
Member Avatar for joinup

Well you could read the intro guides on how to post code, perhaps format the script so it's easier to read. As opposed to one massive 1-liner which no-one wants to look at at all.

Member Avatar for joinup
0
108
Member Avatar for losh177

> Cin Keyboard inpout to const char* You want to "INPUT" to something already declared as const - doesn't that strike you as being in the least bit odd? You say "no changes allowed", then try and change it? Lesson number 1 [code] #include <iostream> #include <string.h> #include "holding.h" #include …

Member Avatar for losh177
0
2K
Member Avatar for mingke

I see fabs(), does that mean you're comparing floating point with == ? If so, read this [url]http://www.c-faq.com/fp/fpequal.html[/url]

Member Avatar for Salem
1
153
Member Avatar for hydravien
Member Avatar for clutchkiller

Unix compilers by tradition omitted the library suffix when passing library names to the linker. Dev-C++ uses the GNU C compiler, which inherits that tradition.

Member Avatar for clutchkiller
0
114

The End.