15,300 Posted Topics

Member Avatar for Lord Soth

[quote=~s.o.s~;263248]Yeah i agree with you OP, lets get "back to primitive"...[/quote] Yea, right. Pull the plug on your home electricity and see how long you'll last without a computer:) I hate it when the power goes out during a storm. And if you want the return to the "good-old-days" you …

Member Avatar for SnowDog
1
541
Member Avatar for parthiban

you should not mix C and C++. In C++ use cin.ignore() to pause the program instread of C getchar(). And you don't need stdio.h either. [code=c] #include <iostream> using namespace std; int main () { cout << "Hello World"; cin.ignore(); return 0; } [/code]

Member Avatar for parthiban
0
682
Member Avatar for Slavrix

1. initialiseBoard() is writing out-of-bounds in that matrix because those two loops are executing 1 too many times. Replace [B]<=[/B] with just [B]<[/B] 2. delete line 31. 3. delete line 95. the array is never referenced in that function. I don't know how you will test any of the rest …

Member Avatar for Slavrix
0
135
Member Avatar for Dani

I thought [B]F[/B] meant [B]Friend[/B]. I changed CP to show dates/times as they originally were here. But I've become so acustome to seeing [B]Yesterday[/B] or [B]Today[/B] that I changed it back! I like not having to think about anything. :-O

Member Avatar for ~s.o.s~
1
191
Member Avatar for Dave Sinkula

I like it the way it is now -- especially the line numbers. The only language syntax I've used is C, such as [ code=c ], which isn't very difficult to type. As for the box, yes I miss that too but I can live without it.

Member Avatar for Dani
0
198
Member Avatar for MarcosEdu

I think a web server would be better coded in another language -- probably php or even C#, which are designed for that sort of stuff.

Member Avatar for MarcosEdu
0
317
Member Avatar for Sturm

[quote=jbennet;359313]lol if [COLOR=black]IQ=(mentalAge/physicalAge)*100[/COLOR][COLOR=black]then i am 4/17 * 100 = 24?[/COLOR][/quote] Oh Dear! :-O That makes my iq 156.:D

Member Avatar for EnderX
0
692
Member Avatar for Ancient Dragon

This just started after changing the colors and code tags yesterday. Copy some code and paste it into the Quick Reply box, then hit [b]Go Advance[/b] button. All the line feeds and spaces are lost, eveything is now on one line and I have to manually replace all line feeds, …

Member Avatar for Ancient Dragon
0
148
Member Avatar for shriagni

If you are using ms-windows operating system you can include windows.h which already defined BYTE and WORD. If not then you can define them yourself like this [code] typedef unsigned char BYTE; typedef unsigned short WORD; [/code]

Member Avatar for Ancient Dragon
0
145
Member Avatar for nkhosinathie

Isn't it odd that the problem asks for the number of men, number of women, and the number of hetrosexuals as if hetrosexuals are neither men nor women :scared: I never new there was a third sex in the human race.

Member Avatar for Aia
0
135
Member Avatar for nkhosinathie

you probably want to create a structure to hold the data for each customer so that the values will not disappear on each iteration of the do-loop. Then you will need an array or a linked list of those structures. After entering the account number search the array or list …

Member Avatar for Ancient Dragon
0
169
Member Avatar for shujjah

you aught to post your web site in the [URL="http://www.daniweb.com/techtalkforums/forum55.html"]Web Site Reviews[/URL] board to see what others say about it and possibly give you suggestions for improvment. I personally didn't like its look, but maybe younger crowd will. As for your question, I'm not qualified to make such recommendations.

Member Avatar for Member 164344
0
88
Member Avatar for christina>you

[quote=RwCC;363618]and as always you Americans butcher classics. .[/quote] You have that right:D Hollywood loves to take a great film or series and [B]modernize[/B] it. Two examples: [B]Dr Who[/B] and [B]Godzilla[/B], both horrible remakes. As for the poll: Christina left out a category -- [b]neither[/b]

Member Avatar for christina>you
0
113
Member Avatar for Ancient Dragon

using Vista Home Premium. When I click a link such as [URL="http://www.daniweb.com/techtalkforums/thread77212.html"]this one[/URL] by cutepinkbunnies I see the video but no audio. Anyone know how to correct that ?

Member Avatar for Ancient Dragon
0
89
Member Avatar for kylcrow

its telling you that scores.size() is greater than 4, which is out-of-bounds.

Member Avatar for Ancient Dragon
0
74
Member Avatar for EnderX
Member Avatar for Aia
0
336
Member Avatar for Covinus

>>is that reasonable enough for a noob to program in that prob Depends. Was you hired to be a c/c++ programmer? Did you lie to your employer and tell him you already knew the c++ language? Or did he already know you were a java programmer who needs to learn …

Member Avatar for ~s.o.s~
0
150
Member Avatar for revenge2

>>Can you run most windows xp software on vista? [b]Most[/b] -- probably not. >>some sort of emulation software I doubt it. You can install XP and duel boot with Vista.

Member Avatar for jbennet
0
108
Member Avatar for Thinka

binary search algorithms normally expect the elements to be unique and sorted in either ascending or descending order. [U]Comments about coding style[/U]: It would be a lot better if you indented the code properly, such as indent sub-blocks of code that is enclosed in '{' and '}' braces by 4 …

Member Avatar for Nick Evan
0
148
Member Avatar for yasmin_jihad
Member Avatar for donaldunca

That is a reference to a nodeptr object in another function. The object is passed by reference so that [b]InsertListOrder()[/b] can change its value. Any changes to [b]Head[/b] in funciton [b]InsertListOrder[/b] will be made to the object in the function that calls [b]InsertListOrder()[/b].

Member Avatar for Ancient Dragon
0
122
Member Avatar for Ancient Dragon

Not sure what causes it but sometimes the computer refuses to shut down. The only way out is to physically press the Off button. I have XP Pro with SP2, Norton Antivirus and Norton Firewall, AMDI 64-bit processor with about 1Gig RAM, 30 Gig hard drive (master) and a 235Gig …

Member Avatar for nanosani
0
262
Member Avatar for NewKidWalking
Member Avatar for iTaChi
0
133
Member Avatar for Zarathu

what is all that crap? If you want to display a MS-Windows message box why not just call it directly ? >>mov eax, 0x7E45058A how do you know that's the address of message box function? The address may change every time the program is run. >>Not working. Could anybody give …

Member Avatar for Ancient Dragon
-1
268
Member Avatar for jaepi

50 characters for a directory name isn't enough space. What if I copy/paste a path that is more than 50 characters? You need at least 255 characters. line 23: that does nothing. Delete that line. line 43: ditto -- nothing more than a do-nothing line. Now for your question: On …

Member Avatar for jaepi
0
110
Member Avatar for cancer10

[quote=cancer10;351968]Planet Size Comparison - A Must See [/quote] I had never seen that -- and am awe struck :cool:

Member Avatar for hbk619
2
170
Member Avatar for kylcrow

you don't need function [b]moreToRead()[/b] Change lines 27-31 to be something like this: [code] while( getline(in,line) ) { // blabla } [/code] What format is the file? FirstName LastName <scores> ?

Member Avatar for kylcrow
0
130
Member Avatar for jaepi

I think you may have misunderstood the assignment. Are you supposed to ask for the information to be put into the file? The name of the file? or both? Is this a C or C++ program? What compiler and operating system?

Member Avatar for jaepi
0
247
Member Avatar for satyanarayanam
Member Avatar for mattb0611

Is [URL="http://wwwthep.physik.uni-mainz.de/~xloops/"]this[/URL] what you downloaded ? And did you also get the GiNaC C++ library which they provided the link to ?

Member Avatar for mattb0611
0
114
Member Avatar for rati

strtok() is not what you want. The text in string2 may or may not be a complete word surrounded with spaces. It could be a few letters of some larger word. Better if you just search string1 for the first character of string2. When (and if) found check if the …

Member Avatar for rati
0
107
Member Avatar for Infarction

[QUOTE=jbennet;347744]Bush and Blair are both idiots. [/QUOTE] what else would you expect from politicians :)

Member Avatar for Dave Sinkula
0
1K
Member Avatar for alc6379

[QUOTE=Chainsaw;44847]It's taken 30+ years for insurance companies to bring tobacco companies down to where they are, and they have a long ways to go.[/QUOTE] not even close to 30 years! try [URL="http://www.forestonline.org/output/page34.asp"]12 years[/URL] :)

Member Avatar for jbennet
0
273
Member Avatar for MidiMagic

I don't see the problem you describe. Do a print screen and attach the bitmap file to your post so that we can see what you are looking at.

Member Avatar for iamthwee
0
146
Member Avatar for happygeek

I'm 64 -- born 1943. Contrary to popular belief, age does not make one wiser -- just makes one older.

Member Avatar for jbennet
0
352
Member Avatar for stol3n

>>my compiler isnt really letting me draw the board it keeps on insisiting that i have invalid types of data Post your code -- my eyes are not good enough to see your monitor.

Member Avatar for ebmusicman
0
123
Member Avatar for Dani

[quote=cscgal;360204]The goal is that they will aid navigation because, at a glance, you could see exactly where on the site you are.[/quote] I don't think it meets that goal because I doubt very few people will bother to memorize the color scheme. Looks great anyway. :*

Member Avatar for Nick Evan
0
287
Member Avatar for ssgatbliss

remove the semicolon at the end of line 13. That's a common mistake for even old-timers -- you just need to learn how to recognize the error.

Member Avatar for ssgatbliss
0
154
Member Avatar for iamthwee
Member Avatar for mikeman400

Its way too late for you to change majors now -- finish your business degree. After that you can get either another bachelors or a masters, or just get a job in IT.

Member Avatar for Ancient Dragon
0
113
Member Avatar for davem48

[quote=jbennet;360866]Is ancient dragon really that old !!??!! I would never have guessed...[/quote] I thought everyone knew it by now -- I've never hidden that. But I'm only 20-something at heart:)

Member Avatar for jbennet
1
118
Member Avatar for sushanttambare

Just a few (not all-inclusive) changes you might have to make: If your 16-bit program is using segmented pointer stuff you will probably have to recode that. Inline assembly code that contains interrupts (such as int 21) is not allowed, inp and outp are not allowed. Installation of interrupt handlers …

Member Avatar for Ancient Dragon
0
105
Member Avatar for cutebamboo

Your function should return an int, not void. If you want the default windows message handler to also process the message then your function should return 1. Otherwise if you do NOT want this to happen your function should return 0. [URL="http://msdn2.microsoft.com/en-us/library/ms534905.aspx"]See here[/URL].

Member Avatar for Ancient Dragon
0
626
Member Avatar for Lutzee

[URL="http://msdn2.microsoft.com/en-us/library/ms682623.aspx"]Here[/URL] is one way to get a list of all running processes. That gives you the PID of each process.

Member Avatar for Ancient Dragon
0
49
Member Avatar for eeeraser

how to draw a line depends on the operating system. If you are using MS-Windows you can use the win32 api graphics functions. If you are in MS-DOS you could probably just use a line drawn with dashes, in a loop of some sort.

Member Avatar for Salem
0
310
Member Avatar for 7arouf

>>i don`t know if this is the right forum for this you are right -- this is the wrong form. could probably also save the pictures as a blob, but changing the original picture won't change the copy in the database like OLE objects do.

Member Avatar for jbennet
0
79
Member Avatar for brightmohan

there is a lot easier way to get a line from the keyboard than what you coded in the program.c file. fgets() will do all that nasty work for you, like this -- notice there are no loops and only 1 line of code other than the buffer declaration. [code=c] …

Member Avatar for brightmohan
0
389
Member Avatar for cool dude

what assembler are you using? I don't recognize some of those assembly instructions. See complete listing of 8085 instruction set [URL="http://en.wikipedia.org/wiki/X86_instruction_listings"]here[/URL].

Member Avatar for cool dude
0
180
Member Avatar for ~s.o.s~

The problem I have is that if I've already given rep to someone I can't see who else might have reped him/her. Get the error message that I must spread rep around before I can rep that person again.

Member Avatar for John A
0
149
Member Avatar for cjwenigma

The decimal value 99 is two ascii digits -- a '9' and another '9'. So your program has to convert the integer into two digits, then convert each digit to ascii for display.

Member Avatar for Ancient Dragon
0
83

The End.