5,237 Posted Topics

Member Avatar for cissee

What do you think? Or ask yourself the question, if the answer were "No", what sort of chaos would result?

Member Avatar for Salem
0
233
Member Avatar for avirag
Member Avatar for Narue
0
2K
Member Avatar for ayan2587
Member Avatar for ravikiran032

No, anything which can communicate with a serial port will be able to do the same thing.

Member Avatar for Salem
0
61
Member Avatar for coolfriend

"no tickie, no washie" [url]http://www.daniweb.com/forums/announcement8-2.html[/url]

Member Avatar for WaltP
-7
283
Member Avatar for koduruabhinav40

Think about how many messages you can get through what is essentially a SERIAL cable "at the same time".

Member Avatar for Salem
0
35
Member Avatar for ramesh_natesan
Member Avatar for phil750
Member Avatar for cissee
Member Avatar for xka

While we're on the subject of "don't", don't call main recursively as a simple way of generating a loop. Recursive calls to main() are illegal in C++.

Member Avatar for jonsca
0
186
Member Avatar for Compudog

We're not going to be able to help you much from a description and a couple of lines of random code. [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url] If you can pare your code down to "this code doesn't work", then that is something we could probably work with.

Member Avatar for Salem
0
77
Member Avatar for ishaiman

Yeah, right, good for you. Now complement your copy/paste skills with some reading the forum rules skills. [url]http://www.daniweb.com/forums/announcement8-2.html[/url]

Member Avatar for Salem
-2
73
Member Avatar for qoaldjsk

How about a web search for the same? It's not like "number of newbie tutorials == 0".

Member Avatar for Salem
0
35
Member Avatar for nerdinator

From your other posts, I'm guessing Win32. So how about a WM_TIMER message?

Member Avatar for Salem
0
119
Member Avatar for ankur_

What have you tried? AKAIK, the GNU linker re-scans libraries, so the order it less important.

Member Avatar for Salem
0
145
Member Avatar for nerdinator

Read the manual perhaps? Y'know, somewhere close to the part where you learnt how to draw a circle to begin with....

Member Avatar for nerdinator
0
334
Member Avatar for SaintDK

if elseif elseif elseif elseif elseif else only ever runs ONE of the available choices. As soon as one of the if statements is true, that's all there is. Try a sequence of separate if statements.

Member Avatar for SaintDK
0
70
Member Avatar for Epi23

What are you going to use it for? - high end game playing - server farm - s/w development - surfing the web What else are you intending to buy? To get the best out of it, you need to match it with similar spec memory, disks etc etc.

Member Avatar for Epi23
0
215
Member Avatar for hasanabada

Compression is an algorithm, independent of it's implementation language. You could implement ZIP in assembler, C or Java (or pretty much anything else) and the end result would be the same. Or do you have some other metric for "best"?

Member Avatar for Salem
0
46
Member Avatar for DTV

[url]http://wiki.allegro.cc/index.php?title=Pixelate:Issue_12/Viewport_Pushing[/url]

Member Avatar for DTV
0
70
Member Avatar for prushik

[url]http://beej.us/guide/bgnet/output/html/multipage/syscalls.html#bind[/url] Since your port is <1024, are you running as root? Some more error checking wouldn't go amiss either. You might have found the error to be "EPERM" or something.

Member Avatar for prushik
0
241
Member Avatar for keithcojo

[url]http://pcsupport.about.com/od/fixtheproblem/a/biosaccess_pc.htm[/url] Scroll down to the Dell bit. When the machine powers on, press Del (or other combination) to enter the BIOS. On one of the pages, there will be an option to set the boot device order. It's probably set to something like "C only". Anyway, you should change this …

Member Avatar for Salem
0
115
Member Avatar for vedatsivri

1. Use a debugger. As in [CODE]gcc -g prog.c gdb a.out [/CODE] First thing to try is just letting it run, then use the 'bt' command to get a stack trace at the point it segfaults. Then read the help to figure out how to examine variables, set breakpoints for …

Member Avatar for Salem
0
101
Member Avatar for Shillz

If you have a compiler already installed, and in your PATH environment variable, then just press F5 and type gcc prog.c where gcc is the name of your compiler, and prog.c is the current filename you're editing. Then press F1 to figure out how to make the command automatically substitute …

Member Avatar for CppBuilder2006
0
983
Member Avatar for sid78669

Unless the PC in question supports one of these, no. [url]http://clusty.com/search?query=wake+up+on+rtc&sourceid=Mozilla-search[/url] [url]http://clusty.com/search?query=wake+up+on+lan&sourceid=Mozilla-search[/url]

Member Avatar for mahmoud_wow
0
202
Member Avatar for johndoe444

> ie instead of deleting a the content of next node is copied to current node and the next node is deleted. Why overly complicate things? Or more specifically, what happens when the next node is NULL, what do you copy then? Or delete for that matter.

Member Avatar for johndoe444
0
114
Member Avatar for vaibhav2614

Does vector.h include vector.h ? Check for a missing ; either at the end of the .h file, or earlier on in the .c file.

Member Avatar for vaibhav2614
0
129
Member Avatar for 54uydf

Oh really? Took me all of 5 seconds [url]http://www.aspfree.com/c/a/Code-Examples/The-FordFulkerson-Algorithm/3/[/url]

Member Avatar for 54uydf
0
84
Member Avatar for Rajasekhar33

We only give homework help to those who show effort [url]http://www.daniweb.com/forums/announcement8-2.html[/url] > write a c++ program to eliminate blank space ,comments, tabs in a given file. How about starting with a program which simply COPIES the input file to the output file? Can you manage that? If you can, then …

Member Avatar for Salem
-2
73
Member Avatar for coffee_bean

[url]http://www.seas.upenn.edu/~chinawat/teaching/2007c/lab03sup.pdf[/url] Found with 5-seconds of google.

Member Avatar for Salem
0
107
Member Avatar for saiprasad_v

You're walking along the beach with a bag of pebbles. With each step, you drop a pebble. What do you know if you see a pebble on the ground?

Member Avatar for Salem
0
47
Member Avatar for annitaz

So have you written the algorithm out on paper, or made any kind of sketch as to the steps you need to perform? Or did you just dump the whole assignment on the board, along with all the "gimmetehcodez" bumps to similar threads that I'm seeing. Read the forum rules …

Member Avatar for low_coder
0
1K
Member Avatar for ayan2587

How about you explain what YOU think the answer is, and wait for us to comment on it. As opposed to merely dumping the assignment on us and waiting for the answer on a plate.

Member Avatar for Rashakil Fol
0
251
Member Avatar for kinvaras
Member Avatar for Salem
0
108
Member Avatar for rigidboss

Well posting your actual code (not a description of a couple of functions you used, and "it crashed") would go a long way to helping you.

Member Avatar for justice igwe
0
114
Member Avatar for Namibnat

All the port numbers, and what they're used for. [url]http://www.iana.org/assignments/port-numbers[/url]

Member Avatar for Namibnat
0
125
Member Avatar for Gaiety

> why we have an int type when we already have short and long ints You got it the wrong way round. C evolved from B and BCPL, where the only data type was "the machine word". This became the int type in C. The short and long got added …

Member Avatar for Salem
0
154
Member Avatar for mir_sheely

You mean like using a decent 32-bit compiler on your 32-bit OS, complete with a wide range of graphics libraries. floodfill() is recursive, massively so. Unless you do something, your default stack size of a few KB will disappear all too rapidly. Even if you increase the size of the …

Member Avatar for SHAHEER BANO
0
815
Member Avatar for komyg

Since you mentioned C#, I guess you're using a modern MS OS that uses cmd.exe as the command processor. Step 1 is read and understand the "set /?" output. [code] Finally, support for delayed environment variable expansion has been added. This support is always disabled by default, but may be …

Member Avatar for Salem
0
150
Member Avatar for IT seeker

This is your 7th thread begging for help, and 25th post. So far, I've yet to see ANY meaningful attempt at writing any code at all, and a hell of a lot of whining trying to get other people to do it for you. My guess, you're already hopelessly behind …

Member Avatar for Narue
-1
103
Member Avatar for surfer2009

Well you could post something which at least compiles. I mean, you seem to be on the right track, it's like you just gave up because you couldn't make it work on the first edit.

Member Avatar for gerard4143
0
107
Member Avatar for madmax007

popen is a SIMPLE wrapper for uni-directional communication only (either reading or writing). Some enhanced versions of popen() allow bi-directional flow (which is what you would want for an interactive program like telnet). If you want real control over what is going on, then you'll need to read up on …

Member Avatar for madmax007
1
1K
Member Avatar for capsown

> if status = "Yes"; Read your text book again, the outermost ( ) are ESSENTIAL, that is part of the language, and not a wrapper around an expression (one of their other uses).

Member Avatar for Salem
0
206
Member Avatar for bhavnam66

> zyxwvwxyz [URL="http://www.rickadams.org/adventure/c_xyzzy.html"]xyzzy[/URL] on the other hand is rather more complicated that it would seem ;)

Member Avatar for Salem
0
99
Member Avatar for iamcreasy

> while(scanf("%d %d", &row, &column) != EOF); Guess what the ; at the end of this line does. As in [ICODE]while(scanf("%d %d", &row, &column) != EOF) { /*nothing at all here */ }[/ICODE]

Member Avatar for iamcreasy
0
205
Member Avatar for samweb$

1. How do you know there is a memory leak here? 2. The code indentation is a mess. [code] if(m_playSound) { const char* soundToPlay = layout->GetWinName(); char* soundTemp = NULL; if(m_playAltScatterSndSymbol != -1) { for(int i = 0; i < layout->GetNumPositions(); i++) { ReelWinSymbolPosition* rwsp = layout->GetReelSymbolPosition(i); for(int i = …

Member Avatar for Salem
0
87
Member Avatar for samsons17

Create two meaningful variable names, like [CODE]int spacesBeforeFirstStar = 11; int numSpacesBetweenStars = 0;[/CODE] Then perhaps [CODE]for ( rows = 0 ; rows < 5 ; rows++ ) { // some stuff spacesBeforeFirstStar -= 2; }[/CODE] Not meaningless variable names like a and b.

Member Avatar for xavier666
0
173
Member Avatar for sman13

[url]http://catb.org/~esr/faqs/smart-questions.html[/url] Your post is too short to be of any use at all.

Member Avatar for Salem
-2
53
Member Avatar for vrnadh123

> This partition should be usable for booting purpose. If it's virtual, then it will only exist while part of your s/w is running. At bootup, NONE of your code will be running, so how could you ever boot from it ?

Member Avatar for amol_d
0
197
Member Avatar for Androggles

I can see all this bumbling around in the dark resulting in "rmdir c:\" at some point :icon_rolleyes:

Member Avatar for Androggles
0
159

The End.