15,300 Posted Topics

Member Avatar for breezett93

The second parameter is incorrect -- do not specify the dimensions `storeProportions(output, dropsOf, totals, numFailed); //located in main`

Member Avatar for Labdabeta
0
3K
Member Avatar for sameh.abdulah.1

If all you want is the first column from each line why are you using a loop to iterate through all the columns of the row? Just call getline once, process the token, then read the next row, ignoring all other columns in the row just read. I don't see …

Member Avatar for Ancient Dragon
0
273
Member Avatar for Stuugie

Replace with NULL to indicate it has no value, assuming the field is allowed to have NULL values.

Member Avatar for Stuugie
0
164
Member Avatar for lecet98

you can only get the source code from whoever write the dll in the first place. There is no way to derive source code from the dll file itself. The best you can do is get the assembly code using a disassembler.

Member Avatar for Ancient Dragon
0
52
Member Avatar for lecet98

what do you mean by that? vb6 programs are not web applications -- they only run on a local computer wjuch as the one you use at home or work. I don't know if vb.net can be used with a web server or not, my guess is not. There are …

Member Avatar for Ancient Dragon
0
38
Member Avatar for arcticman452

if _getch() returns either 0 or 224 then a special key such as Function keys, arrow keys, KeyUp,KeyDown, etc was hit. In tha case call _getch() again to find out what key was hit. [Here](http://msdn.microsoft.com/en-us/library/aa299374(VS.60).aspx) is a complete list of codes. Because Function keys, arrow keys, etc return the same …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for ronnelayson

why are you using an array of reco objects? The array is not needed, just re-use the same instance of reco. The loop on line 19 is wrong -- arrays are always numbered starting with 0, not 1. In your program valid array numbers are 0, 1, and 2. There …

Member Avatar for ronnelayson
0
110
Member Avatar for kortneycoles

>void AddRecord(ifstream&, struct record[20], int& length) The first parameter is missing a variable name, e.g. `ifstream& infile`. But it doesn't make any sense to have an ifstream parameter to that function because AddRecord() creates a new record, not reading from a file. Inside AddRecord() I assume you will want a …

Member Avatar for kortneycoles
0
174
Member Avatar for cnet1989

>>It's supposed to be a cloze test... Doesn't that mean you're supposed to write the program without help from anyone? If yes, then isn't asking us for help the same as cheating by looking in your textbook? line 19: why is the filename hardcoded instead of using the name you …

Member Avatar for mike_2000_17
-1
620
Member Avatar for ndeniche
Member Avatar for irtza

You are attempting to set a pointer to a pointer to itself. That makes no sense at all, something like saying "you are your own father". Note: main must be declared to return an int. c++ does not allow declaring functions without a return type. You need to do something …

Member Avatar for samiz4j
0
295
Member Avatar for kcys.wong

You are going to have to narrow down the problem a bit more for us -- where is the problem? Don't expect us to wade through hundreds of lines of code to find it ourselves. Ain't going to happen.

Member Avatar for Ancient Dragon
0
255
Member Avatar for mohammad.alsheyab

which part of that don't you understand? Were you paying attention in class when your teacher explained it to you?

Member Avatar for Ezzaral
0
216
Member Avatar for Xantipius
Member Avatar for Suzie999
Member Avatar for mattster

From what I've seen MAC is a pretty lousy operating system, my friend has one that crashes constantly. The more I use Windows 8 the better I like it. Windows 8 boots a lot faster than any previous version. Ubuntu boots even faster, but a lot more difficult to learn …

Member Avatar for Assembly Guy
0
857
Member Avatar for Kromgol

[Here](http://en.wikibooks.org/wiki/C%2B%2B_Programming/Exercises/Iterations) is one site I found

Member Avatar for gezhagn
0
190
Member Avatar for cyril71
Member Avatar for Reverend Jim
0
212
Member Avatar for lee.martin.568847
Member Avatar for Xantipius

Wednesday, Feb 3, 1943, Aquarius. The day I was born [four US Army chaplains](http://en.wikipedia.org/wiki/Four_Chaplains) died on a ship that was struck by German torpedo in the North Atlantic.

Member Avatar for Xantipius
0
396
Member Avatar for DenisOxon
Member Avatar for Ancient Dragon
0
210
Member Avatar for ha1206570

You might want to make a c++ base chass, such as clzss Shape, that contains all the basic data such as parameter, area, etc. Then derive circle, square,etc from shape. In the Shape class you could put methods that are common to all shapes, such as get/set for the data. …

Member Avatar for Ancient Dragon
0
175
Member Avatar for sai.aleenus

>for(i=1 ; lam > 0.002 ;i++) That looks like a very very dangerous and unpredictable loop. What happens if the value of lam is never > 002? Or if the value of lam becomes > .002 only after the value of i is greater than 400? You need to rethink …

Member Avatar for sai.aleenus
0
140
Member Avatar for Ancient Dragon

What gives with the bold purple text following the code in [this thread](http://www.daniweb.com/software-development/cpp/threads/453883/problem-in-sfml-project)? It's confusing, and looks like shit. Is that some new formating change made to the forums?

Member Avatar for diafol
0
216
Member Avatar for GhostWolf

Read [this Microsoft article](http://msdn.microsoft.com/en-us/library/362314fe(v=vs.71).aspx) which explains what the @ symbol is used for. Too bad C and C++ don't have that.

Member Avatar for deceptikon
0
168
Member Avatar for wolframP

Anyone know if Code::Blocks with MinGW has the switches for c++11? [edit] I just now downloaded and installed CB Version 11 with MinGW. The IDE does indeed have an option to enabout c++11

Member Avatar for Ancient Dragon
0
7K
Member Avatar for WDrago
Member Avatar for prince.abankwah.5

Ok, you told us what you are doing but didn't tell us about the question or problem you are having. If it's a stand-alone PC program that doesn't access your web server then there isn't any full-proof way to accomplish that. Whether you write the date to the registry or …

Member Avatar for Mr.M
0
218
Member Avatar for omarking05

What is the "small problem" ?? Or do you want us to guess? My guess is that you hold your knose when you tried to compile it.

Member Avatar for Ancient Dragon
0
258
Member Avatar for Ancient Dragon

I have a copy I no longer want -- if anyone wants it just pay shipping and I'll give it to you. It's in the original box and includes a cd that contains service pack 5.

Member Avatar for Ancient Dragon
0
193
Member Avatar for LaxLoafer
Member Avatar for LastMitch
1
112
Member Avatar for aan_rwh

what operating system and compiler? c++ itself it completly ignorant of graphics.

Member Avatar for icmmovers
0
109
Member Avatar for kubawpl

Your program doesn't compile correctly, until you fix the errors it will produce undefined behavior. You need to add = symbol in two places, like this: creature human = // <<<< add the = symbol here { 100, I can't compile the rest of the program because you need to …

Member Avatar for ravenous
0
151
Member Avatar for waqas.zafar.125

c++ itself knows nothing about graphics so you have to use operating system api or some 3d party graphics library such as OpenGL and DirectX. See [this Microsoft article](http://msdn.microsoft.com/en-us/library/windows/desktop/dd145203(v=vs.85).aspx) for GDI functions on MS-Windows. You must be using a fairly recent 32-bit compiler to access those functions. \*nix has completly …

Member Avatar for rubberman
0
221
Member Avatar for xLuFeT

If the order is 5/6/2013 1/1/2012 That is in descending order. if you want 1/1/2012 5/6/2013 Then you want ascending order, not descending.

Member Avatar for xLuFeT
0
629
Member Avatar for imBaCodes

Her name was Terry. I was 4 at the time and she was about the same age, she lived next door in Des Moines, Iowa. The last time I saw her was when I was 9, my parents moved onto a farm 20 miles away. As an adult I married …

Member Avatar for cproger
2
219
Member Avatar for Asotop

>since "Contains" needs the spesific time. What does that mean? What is wrong with "2013-05-03 14:10:00 to 2013-05-03 14:12:00"?

Member Avatar for tinstaafl
0
252
Member Avatar for SirMahlon
Member Avatar for Yustme

iterate through each character of the string and use the macro toupper() found in ctype.h to convert the characters to upper case. [code] char c = 'a'; c = toupper(c); // now c will == 'A' [/code]

Member Avatar for brcsur
0
9K
Member Avatar for harishjoy

Are you using Visual Studio IDE? It has two ways to compile program: Debug and Release. The Debug project adds a great deal of data (such as a symbol table) to your compiled program to make it easy to debug. This is great if you need to debug the program, …

Member Avatar for harishjoy
0
103
Member Avatar for jose.a.rueda.5

All you have to do is replace cout with printf() and cin with scanf or fscanf. The rest should be the same.

Member Avatar for mridul.ahuja
0
233
Member Avatar for DarkLightning7

Read [this article](http://courses.engr.illinois.edu/ece390/books/labmanual/c-prog-mixing.html). It was written for 32-bit programming but the way to call c functions should be the same. Also make sure your progrzm links with the 64-bit c runtime libraries instead of 32-bit libraries. >do pop and push automaticly adjust the stack? Maybe -- after retuning from c …

Member Avatar for DarkLightning7
0
5K
Member Avatar for LeNenne

verify that app.path returns what you think it does. Also the file can not be open by some other procesas.

Member Avatar for Jx_Man
0
124
Member Avatar for Shahrukh017

Do you mean inherentence or do you mean another programmer? For inherentence just make the objects private.

Member Avatar for Moschops
0
112
Member Avatar for eig132062

What's the problem? You stated what it is supposed to do but failed to say what it doesn't do. Don't expect us to guess what you want.

Member Avatar for Ancient Dragon
0
207
Member Avatar for pearl.kumar1

Are you saying those two files are created when your computer crashes while your vb.net program is running? That's an odd behavior, never heard of that one. You need to check your program code to see what caused it to crash your computer. What version of MS-Windows are you running, …

Member Avatar for pearl.kumar1
0
109
Member Avatar for MasterHacker110

Add multithreading. Put line 57 in a tight loop, inside that loop after listen() returns create a new thread. lines 62-110 should be in another function which is the thread code. The newest version of c++ standards includes new standards for creating threads which I have not read or used. …

Member Avatar for rubberman
0
4K
Member Avatar for jamegh1990

It will depend on how the file is layed out, but probably replace both lines 21 and 22 with this one line: infile >> sales[i][j]; Post a few lines of the data file and we can be more specific about how to read it.

Member Avatar for jamegh1990
0
338
Member Avatar for abrarsyed

What operating system? Under MS-Windows see [this article](http://msdn.microsoft.com/en-us/library/exchange/bb856574(v=exchg.140).aspx). Since we know nothing about your installer we can't tell you how to implement that.

Member Avatar for abrarsyed
0
177
Member Avatar for Ketsuekiame

That bill seems to have very broad provisions covering many different things. Can you post a link that discusses the topic which you are concerned?

Member Avatar for mike_2000_17
0
267

The End.