5,676 Posted Topics

Member Avatar for sgriffiths

[QUOTE=sgriffiths;296302]i want to read in and store the company names in a variable, but [B]i cant for the life of me get it to work[/B][/QUOTE] Haven't you been here long enough to know that without knowing what you've tried (code) we can't help? We ain't psychic!!

Member Avatar for gcs584
0
193
Member Avatar for irfan.motiwala

[QUOTE=cscgal;294497]If you accidentally hit the edit button then just click on Cancel instead of Save :mrgreen:[/QUOTE] Probably hit save then realized he was in edit mode. See? The EDIT button position even bites [B]Ancient Dragon[/B]! Need I say more? ;)

Member Avatar for ~s.o.s~
0
131
Member Avatar for tech291083

Nielson rating do an extensive study of demographics and those boxes are placed in 1200-2000 homes based on their findings. These boxes give us the alleged number of people watching a program at any given time. In addition they send out log books for people to keep track of their …

Member Avatar for tech291083
0
112
Member Avatar for sTorM

I take it no one has pointed out the last paragraph of [url=http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies#faq_keep_it_organized] the Rules[/url] yet. I also seem to remember mentioning you have to give us information about [I]what[/I] is wrong and enough information for us to understand the problem. You didn't do that again.

Member Avatar for WaltP
0
83
Member Avatar for stoopidnerd

[QUOTE=Ancient Dragon;294513][URL="http://msdn.microsoft.com/vstudio/express/vb/"]Here[/URL][/QUOTE] Another VB-type language is [URL="http://realbasic.com"]Real Basic[/URL] -- and it works on Linux as well as Windows.

Member Avatar for WaltP
0
98
Member Avatar for Mushy-pea

To be honest, when perception and logic don't coincide, I know better than to trust perception. Being a magician, I [i]rely[/i] on being able to make people's perception fly against logic. An easy case in point -- look at any optical illusions. If you don't doubt your perceptions, then the …

Member Avatar for Mushy-pea
0
149
Member Avatar for Virii

[QUOTE=Virii;294794]So I'm trying to decide if going to college for computer science or computer enegineering would be worth it. Or should I get a BS/BA in something I really enjoy doing (Like film or art) and just teach myself computer programming, opengl, direct 3d, etc.[/QUOTE] Depends on what you want …

Member Avatar for WaltP
0
102
Member Avatar for l36963

[QUOTE=l36963;295932]To be honest i don't know to much of the language yet, i jst started learning, it's c++ language, i'm finding it slightly difficult, i have books to help, but i wanted a bit more practical advice, the books help with input of the values, but not so much how …

Member Avatar for WaltP
0
231
Member Avatar for sTorM

Not without telling us what is it's doing wrong. [i]Yuo[/i] have to tell us what the ptogram is doing, and what it should be doing instead. And don't forget to read the announcement above about BBCodes so you can post the code readably.

Member Avatar for John A
0
223
Member Avatar for naglayas

Another one of those "I just got a tricycle for Christmas! How do I drive the Concorde SST?" questions. Please learn to crawl before you enter the Boston Marathon...

Member Avatar for WaltP
0
115
Member Avatar for nuwan243

[QUOTE=Ancient Dragon;294236]0x10 is an [URL="http://en.wikipedia.org/wiki/Interrupt_vector"]interrupt vector[/URL], which is a hard-coded memory address where an interrupt handler begins. This can only be used in old 16-bit MS-DOS programs.[/quote]An older C/C++ compiler can build these programs even on Windows XP machines. And for the most part they will still work. The [I]Command …

Member Avatar for Ancient Dragon
0
154
Member Avatar for mattyd

[QUOTE=happygeek;292439]... if I spent a grand...[/QUOTE] A grand? Since when does the UK use [I]grand[/I]? :p Shouldn't that be a tonne? :twisted:

Member Avatar for happygeek
0
91
Member Avatar for EnderX

How about an OPEN statement followed by READs? I guess I don't understand why an INI file is different from any other file....

Member Avatar for sushanth
0
1K
Member Avatar for Jessehk

[B]ForTran[/B] [code] integer i do 100 i=1,10 100 write(5,200) i 200 format("i3") end [/code]

Member Avatar for Maidomax
0
991
Member Avatar for dr.it

[QUOTE=jwenting;292459]there is no company called M$.[/QUOTE] Sure there is! I use their products all the time -- and complain loudly when I do!!! If it wasn't for M$, us power users would still be able to do things instead of trying to get around security on our own machine. One …

Member Avatar for TylerSBreton
1
239
Member Avatar for The Dude
Member Avatar for WaltP

Could we implementa a keystroke for INLINECODE tags so we don't have to use the mouse? Something like Ctrl-K would work -- for [U]K[/U]ODE

Member Avatar for ~s.o.s~
0
101
Member Avatar for jan1024188

[QUOTE=jan1024188;292684][code]cout << "i Am MALE"<<endl ;[/code] :eek:[/QUOTE] He was just hoping... :mrgreen:

Member Avatar for jan1024188
0
115
Member Avatar for DynamitMsk

Do, to piggy back on the answer by Mr. [B]~s.o.s~[/B] :mrgreen: you should probably just declare the [I]map[/I] as [INLINECODE]City map[200];[/INLINECODE]. That would fix your problem. I also hope this line is [I]not[/I] in your header file. It should be in your code file only.

Member Avatar for ~s.o.s~
0
150
Member Avatar for The Dude
Member Avatar for mytime19

OK [code=cpp] #include <stdio.h> int main() { puts("computer graphics programs"); return 0; } [/code]

Member Avatar for John A
0
147
Member Avatar for adam37

[QUOTE=Ancient Dragon;292288]>>How long is a piece of string? depends on where you cut it with your scissors. (sorry for the bad joke, I just couldn't resistet temptation :eek: ) [QUOTE=Bench;292422]Its twice as long as half its length, of course ;)[/QUOTE][/QUOTE] If you cut off both ends, the string is endless. …

Member Avatar for Colin Mac
0
151
Member Avatar for mytime19

My kid just entered kinderarten and I still have his entrance papers. Where should I send them?

Member Avatar for ~s.o.s~
0
130
Member Avatar for mattyd

Interesting! Doubly so because it [I]wouldn't[/I] run in IE, but would in Opera and FFox!

Member Avatar for WaltP
0
16
Member Avatar for ndicuh
Member Avatar for kissiwat

The problem is when you do [INLINECODE]scanf ( "%c", &reply );[/INLINECODE] you press two keys, a character and ENTER. The [I]scanf()[/I] reads the character and leaves the ENTER for the next read. You need to clean out the input buffer (and [I]fflush()[/I] is not the way to do it). You …

Member Avatar for WaltP
0
101
Member Avatar for spaceboy

I pretty much agree with [B]sunnypalsingh[/B]. In 30+ years I've never met anyone certified in software languages. Only in hardware and hardware related things like networking and A+, and stuff like that. Put your money into a class instead where you can get help directly from a live human instructor. …

Member Avatar for spaceboy
0
120
Member Avatar for Monsignor

[QUOTE=Ancient Dragon;291493]fscanf() will read just one word at a time, which will greatly simplify the solution to the problem.[/QUOTE] True, but you learn nothing about how to parse a string, which I would assume is the lesson to be learned here.

Member Avatar for Ancient Dragon
0
166
Member Avatar for solomon grundy

[QUOTE=solomon grundy;291581]I need to Construct a program that inputs the entries of two matrices and multiplies them. Construct the program so that it gives an error message if they cannot be multiplied. What I have done so far I need to Construct a program that inputs the entries of two …

Member Avatar for WaltP
0
109
Member Avatar for nicolivolkov

Please describe what this method does: [code=cpp] boolMatrix::boolMatrix() { for(int row = 0; row < num_rows; row++){ for(int col = 0; col < num_cols; col++){ return false; } } } [/code]The function makes no sense [code=cpp] void boolmatrix::set (boolMatrix booleanMatrix) { ifstream infile("location_alive.dat"); int row, col; while(infile){ infile >> row …

Member Avatar for nicolivolkov
0
418
Member Avatar for mattyd

Of course aliens exist. 1) Just look at the Cantina scene in Star Wars! 2) Lots of them work in fast food all over the city! Many are even illegal.

Member Avatar for 'Stein
0
213
Member Avatar for Sandtimes

Maybe this will be easier to read: [code=cpp] structure Moviedata // to my knowledge structure is not a keyword, // change it to struct not structure and see // what happens int main() { structure Moviedata ; // this doesn't declare an object of type // Moviedata but this would----Moviedata …

Member Avatar for Sandtimes
0
641
Member Avatar for milky

Not without code tags and an explanation of what is wrong. We aren't psychic... When you typed in your posts, did you notice the background was not pure white? They are actually words. They can help.

Member Avatar for Infarction
0
124
Member Avatar for JoBe

[QUOTE=JoBe;287783]Hmmm, well, I came up with this [INLINECODE]int strLength = strlen(myArr)-1;[/INLINECODE] and then in the loop [INLINECODE]for (int i = 0; i < strLength; i++)[/INLINECODE] but I see where you're coming from :o Thanks for the example, I'll see that I can find an equivalent to use in my program …

Member Avatar for Dave Sinkula
0
374
Member Avatar for Colin Mac

I prefer the second form. I personally don't like prototypes in a function body. They get lost too easily. You also don't need so many lines between code blocks. The farther they are away from each other the harder it is to compare.

Member Avatar for Colin Mac
0
102
Member Avatar for vicky_dev
Member Avatar for GuruGhulab

First off, print out the number just read in addition to all the other stuff. Second: [Code=cpp] fin.open("numbers2.txt"); while (fin) { for (int x=0;x<20;x++) { fin>>arnNum[x]; [/code] 1) Why the [I]while[/I] statement followed by a [I]for[/I] statement? 2) What happens if [INLINECODE]fin>>arnNum[x];[/INLINECODE] causes an error? Third, if you need to …

Member Avatar for GuruGhulab
0
137
Member Avatar for hugoboss2

[QUOTE=hugoboss2;289915]in language C Code that examine if the tree is full Tree is full if each node have 2 child i dont know how to write the code ? somebody can help me ?[/QUOTE] It seems to me a tree can [I]never[/I] be full. The last node(s) will always have …

Member Avatar for WaltP
0
82
Member Avatar for DMR

[QUOTE=DMR;288905]*sigh*... Welcome to the United States- The Land of Frightened Sheep.[/QUOTE] Ain't that the truth. And they won't do anything to stop crap showing up in my emails, but they'll regulate a place I want to frequent. It's so sad.

Member Avatar for WaltP
0
188
Member Avatar for rixius

[QUOTE=Ancient Dragon;289149]and I'd like to see him store that number in an integer:mrgreen:[/QUOTE] You'd need a plugin module like BigfrickinNum from CodefrackingSpace.foo

Member Avatar for WaltP
0
270
Member Avatar for JJ___

[QUOTE=sharky_machine;286660]Yes, I vote for a gaming board.[/QUOTE] Gee, a little late, aren't we, [B]sharky[/B]? :mrgreen:

Member Avatar for John A
0
790
Member Avatar for mattyd

[QUOTE=BamaStangGuy;288088]Star Wars never appealed to me, *Runs and Hides*[/QUOTE] You'd better run!!!! Dani, we need to demote this guy! :twisted:

Member Avatar for ~s.o.s~
0
105
Member Avatar for Dogfish

[QUOTE=Dogfish;288731]I want to set a timer from a button click to run for ten minutes then go off, but can only get the timer in vb6 to run for 10000 milliseconds ! any help would be great.[/QUOTE] I don't know why you can't go higher than 10000, I just loaded …

Member Avatar for QVeen72
0
294
Member Avatar for phuduz

[QUOTE=phuduz;288924]hey guys i had a program using a function to form the plurals of English nouns according to the following rules and it just aint working any help would be great thnx[/QUOTE] I don't see any rules here, just code that you claim doesn't work. And if it doesn't work, …

Member Avatar for WaltP
0
87
Member Avatar for WoBinator

[QUOTE=WoBinator;288051]heyi just wrote and comiled with Dev-C++ ---- they said that its meant to come up with the message...but all it did was flash..i didnt see the message :( is that meant to hpn? [/QUOTE] That's because DevC opens a window to run the program, runs it, and when the …

Member Avatar for WoBinator
0
203
Member Avatar for whitemoss

[QUOTE=whitemoss;288013]need ur help regarding the above matter.[/quote]Please state the matter in the post. Don't use the title as part of your question. It's only meant to give us an idea about what we're about to read. [QUOTE=whitemoss;288013]I've write a code for if statement but it didnt work as expected when …

Member Avatar for whitemoss
0
119
Member Avatar for jessiegirl

[QUOTE=Narue;284055]>I still have some errors and I can't seem to figure out the mistakes TY for all your help I refuse to read your code until you format it and put it in code tags.[/QUOTE] And don't let us try to figure out what the errors are. Tell us. It's …

Member Avatar for WaltP
0
160
Member Avatar for John A

[QUOTE=cscgal;281579]My concerns ... Which forum would someone coding a game in C++ post? Is it wise to create a development forum that is a mixture of all programming languages?[/QUOTE][QUOTE=~s.o.s~;281870]Game development isn't just about code in C and C++, it involves a lot of issues -- Artificial Intelligence Algorithms (generic algos), …

Member Avatar for Janiceps
0
497
Member Avatar for anandarose

[B]QVeen72[/B], you've been asked multiple times to use code tags. Is there a problem with understanding what they are? How to use them? Where to get the information? All this has been mentioned... Check the post at the top if the forum labled [i]Please use BB Code and Inlinecode tags[/i]

Member Avatar for anandarose
0
161
Member Avatar for 'Stein

The End.