958 Posted Topics

Member Avatar for cloudedvision
Member Avatar for NekoGráfico

Does code have to be "brand-new", can you pull stuff out of old projects, or use bits used from your old challenge?

Member Avatar for MosaicFuneral
0
163
Member Avatar for mybluehair

Did you read how to setup projects in Dev-C++? New Project -> Project Options -> Set the include and library directories -> Parameters, Linker, name of the static library.

Member Avatar for mybluehair
0
118
Member Avatar for geffect

Uhmm... First enclose code used by for, while, if, etc. in brakets [icode]}{[/icode]. It's hard to spot where things end and begin without them. And where does it crash? Have you tried breakpoints in a debugger, or even just putting couts/printf in the code to see where you are? Why …

Member Avatar for MosaicFuneral
1
99
Member Avatar for cloudedvision

Class awsome is not a pointer you don't use [icode]->[/icode]. Oopy.cpp missing something on the include? Your class is missing a semicolon to finish it.

Member Avatar for cloudedvision
0
145
Member Avatar for coolbuddy059

Learn to program first, get GCC, then preferably learn the ASM for your arch. Simple isn't it?

Member Avatar for boB_K7IQ
-3
127
Member Avatar for Lardmeister

Guitars, basses, violins, string instruments I love! ^_^ Most of my experience is with my electric guitars, with .12 gauges in C-standard, or .9 in B (yes that is hanging) while doing pinch harmonics.

Member Avatar for ddanbe
0
478
Member Avatar for abello00
Member Avatar for MosaicFuneral
0
111
Member Avatar for Erikmmp

Take the initial time with[icode]time()[/icode], use inside a loop take the time again, then use [icode]difftime()[/icode] to check the diffrence between the two; if it's greater than the max time, break the loop.

Member Avatar for Erikmmp
0
127
Member Avatar for amerninja2

[QUOTE=amerninja2;751692]No Windows API is different. Console applications are the DOS window.[/QUOTE] Actually they're just Window console apps, using the command prompt. They're not true DOS programs, unless you have a compiler compiling for DOS. I think you're just confusing the OSes with command prompt.

Member Avatar for MosaicFuneral
-1
223
Member Avatar for Lukezzz

Possibly in a register entry, that sets it for the whole system. Which that's a very Windows related question, which you might be better off in a Windows related forum in finding it. I assume you're trying to alter it for the whole system/user? Once you find it, just look …

Member Avatar for Lukezzz
0
131
Member Avatar for jonevans2

Can't you simplify Alpha, and Morse like this: [icode]string Alpha = "abcd...7890";[/icode] [icode]vector<string> Morse;[/icode] You probably could come up with an algorithm to push_back() all the elements, for Morse. Or for now, do it manually for the first few ones, just to test it out.

Member Avatar for MosaicFuneral
1
151
Member Avatar for FrancisC07

Well as they already said reset sum to zero; next problem in month two would be, you forgot quotes [icode]"[/icode] in cout, and I'm assuming the lack of int before main() is a copy-paste oversight. You could create a class that holds all of the months, extra info and functions …

Member Avatar for MosaicFuneral
0
112
Member Avatar for C++.java

He did, by telling you, "you need a question, if you want an answer"(in other words). Try what Freak_Chris posted.

Member Avatar for Salem
-1
131
Member Avatar for FTProtocol

[QUOTE=FTProtocol;749884]lol im not lucky it works 100% :P[/QUOTE] Then what's the point of this thread, anymore?

Member Avatar for Ancient Dragon
0
188
Member Avatar for ojung

A list of things to do: Use code tags, realize you're programming in C++ not BASIC avoid [icode]goto[/icode], avoid [icode]system()[/icode] whenever possible(it's slow, often unportable, and insecure in some cases), and reformat your code because someplaces look like errors but I can't tell.

Member Avatar for ojung
0
99
Member Avatar for Dewey1040

Tell them to use it, and search for the char with [icode]'.'[/icode].

Member Avatar for Dewey1040
0
206
Member Avatar for Demonisya

I saw people asking this, in Yahoo Answers last week. I like this funnier leaning tree version(I don't have a life to be writing this stuff): [code]for(int i = 0; i < 16; i++) { for(int j = 0; j < 16 - i; j++) { for(int l = 0; …

Member Avatar for Demonisya
0
174
Member Avatar for noktasizvirgul
Member Avatar for pochacco
Member Avatar for DemonGal711

[QUOTE=DemonGal711;746827] And if I try to use the Print(); funtion, that makes the program close. Any help?[/QUOTE] What [icode]Print()[/icode] function?

Member Avatar for DemonGal711
0
182
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for jbennet
1
152
Member Avatar for ammameiya
Member Avatar for ammameiya
0
252
Member Avatar for quocnam00
Member Avatar for Shinedevil
Member Avatar for StuXYZ
0
202
Member Avatar for valluvanl

You're trying to declare functions in mainMenu, not calling them. You don't need to declare the type while calling it.

Member Avatar for valluvanl
0
122
Member Avatar for MosaicFuneral

Here's what I'm trying out: [icode]Substitute characters into values with no set left bits; check if the next position is a vowel(or whatever), turn it into a value with no right bits set, join the two characters into a single byte, delete the unused position now.[/icode] Here's the code using …

Member Avatar for MosaicFuneral
0
295
Member Avatar for SlayerX

In the case the you only had to use ASCII values 32-126, you then could share a single byte for two values. You could even use a truth table that points out the positions of a nibble that is really its opposite extended version 128-255.

Member Avatar for Salem
-1
321
Member Avatar for The Dude

There's good beer, and there's bad beer. For instance, Corona taste like piss and I almost puked having one, but recently I had some German one(don't know the name) and it tasted like a sort of roll my aunt makes, on the holidays, that I love.

Member Avatar for vmanes
0
91
Member Avatar for vmanes
Member Avatar for wanghong.li
Member Avatar for MosaicFuneral
0
49
Member Avatar for Ancient Dragon
Member Avatar for Jen0608
0
81
Member Avatar for dise652

Turkey tail. Thanks-Giving is the day Lincoln decided that all Americans should get fat.

Member Avatar for Jen0608
0
134
Member Avatar for mridulsouth

Replace: [icode]char *str;[/icode] with [icode]string str;[/icode] and fix: [icode] str.length[/icode] with [icode]str.length()[/icode]

Member Avatar for MosaicFuneral
0
118
Member Avatar for AcidG3rm5
Member Avatar for jakeiscrazy

You can always save a decade old machine from the recycle, and use DOS or Win 9x; and then it's easy to do in C. That way you could also dedicate it to your project[s]. For Inpout32.dll look at Test2.c, here: [url]http://www.hytherion.com/beattidp/comput/pport.htm[/url] That was rather painless. Some more links: [url]http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Windows_98/2000/NT/XP.html[/url]

Member Avatar for Salem
0
522
Member Avatar for Albinoswordfish

uhhmmm..... No, that shouldn't be the problem, since .o files are compiler produced.

Member Avatar for Albinoswordfish
0
110
Member Avatar for Lukezzz
Member Avatar for sambafriends
Member Avatar for The Dude

Didn't see the difference(I think most languages are the same anyway).

Member Avatar for jbennet
0
76
Member Avatar for cutedipti
Member Avatar for ArkM
0
103
Member Avatar for sting23

ughhhhmmmm...... No, and we're aware that this is the C++ forum, your title doesn't need to point that out. If this is a homework assignment, then all you have to do is "design one", not create some commercial piece of software.

Member Avatar for ithelp
-1
139
Member Avatar for monkey_king
Member Avatar for WaltP
0
158
Member Avatar for vmanes
Member Avatar for DLightman

You can put the BinaryNode struct outside of the class and make the class look a little more cleaner. Why are you including the .cpp file, it's not a header? Shouldn't the destructor test if the pointers are NULL first?

Member Avatar for DLightman
0
155
Member Avatar for NewtoC++
Member Avatar for Se7Olutionyg

I pretty sure there's a better way of drawing the scene with an initial array that you print in a loop, then add the new characters to the array every new state.

Member Avatar for cikara21
0
379
Member Avatar for haven_u

You have to check if you have enough room before you use [icode][i+1], [j+1][/icode]; because you're going past the your array boundaries. See how it goes past at [0][2]: [code]MatrixC[0][0] = (MatrixA[0][0] * MatrixB[0][0]) + (MatrixA[0][1] * MatrixB[1][0]); MatrixC[0][1] = (MatrixA[0][1] * MatrixB[0][1]) + (MatrixA[0][2] * MatrixB[1][1]);[/code]

Member Avatar for ddanbe
0
113
Member Avatar for rastaberry

Look up, "Bitwise operators C++", then try something like this: [code]unsigned char a = 1; for(int i = 255; i > 0; i--) { a |= i; a ^= i - 1; }[/code] Would have an effect like this: [code]00000001 00000011 00000100 00000101 00000101 00000111 00001000 00001001 ... 11111111[/code] In …

Member Avatar for rastaberry
0
143

The End.