15 Discussion / Question Topics

Remove Filter
Member Avatar for Clinton Portis

Fun game for the raging compulsive alchoholic gambler, such as myself. Although the game may vary among casinos, the basic premise is the user picks 10 numbers out of 80. The computer will randomly draw 20 numbers out of 80. If you matched with any of the computer picks, you …

Member Avatar for PrimePackster
0
1K
Member Avatar for Clinton Portis

[code] #include <iostream> int main() { std::cout << "Merry Christmas Everyone!"; return 0; }[/code]

Member Avatar for mrnutty
3
116
Member Avatar for Clinton Portis

I was just wondering if ya'll knew of any dictionary libraries that I could include in one of my c++ projects. A quick google & forum search have offered solutions in other languages, such as python and c# but have seen nothing specific for c++. Thanks in advance. -d.w.

Member Avatar for Narue
0
110
Member Avatar for Clinton Portis

Trying to make a quick little tool in response to the [URL="http://www.msnbc.msn.com/id/42348642/ns/technology_and_science-security/"]FBI's request for assistance[/URL] on cracking a code.. getting an error that takes me outside the scope of my program.. not sure what is causing the problemo. Maybe another set of eyes can help: [CODE] #include <iostream> #include <fstream> …

Member Avatar for Clinton Portis
0
245
Member Avatar for Clinton Portis

As a proud memeber of the 10% unemployed and the 45% under-employed, I often find that I have a lot of time on me' hands. Now my dear ol' mom likes to play this game, and she's often at home alone.. so with nothing else to offer this holliday season, …

Member Avatar for Clinton Portis
0
166
Member Avatar for Clinton Portis

I thought this website on coding conventions was pretty cool.. learned some things that I never knew before: [url]http://www.possibility.com/Cpp/CppCodingStandard.html#init[/url] I was just wondering: If there are any conventions in particular you agree or disagree with (and why) If this would be worthy of being a 'sticky post' as I think …

Member Avatar for Lawand
1
153
Member Avatar for Clinton Portis

Unfortunately in c++, there is really no good way go locate lines in your file without reading the entire file 'character at a time.' So, if you [I]have[/I] to read only a single line from a file, we know we are at some point going to have to be inefficient... …

Member Avatar for Clinton Portis
2
2K
Member Avatar for Clinton Portis

A lot of people have questions about how to load a text file using file I/O. There seems to be 2 popular methods to loading a text file: Use fstream's >> extraction operator. Simple enough, load the file directly into individual containers, word at a time, but you lose your …

Member Avatar for mrnutty
1
195
Member Avatar for Clinton Portis

Got my woman a laptop for xmas... now i don't know what type of router to get. Is there a way to check whether the machine supports wireless G? This is the closest answer I got whilst googling: [url]http://au.answers.yahoo.com/answers2...3185712AA3ycuJ[/url] This states that wireless N is backwards compatible with G, but …

Member Avatar for bobbyraw
0
159
Member Avatar for Clinton Portis

I am going through some book assignments.. and I am running into some terminology that doesn't make sense to me.. [quote] Impelement this class... Class Cis Float Cisfloat a("325.12315"); a+b a * b [b]14 (exp # bits) 113 (sigment # bits)[/b] 10000........0 bias[/quote] what does the author mean by, "exp …

Member Avatar for Salem
1
132
Member Avatar for Clinton Portis

I need a little help calculating odds for a roulette game.. i'm not sure why someone would bet 1:1 odds.. to me, that just means you win your money back without making a profit. also, 1:1+bet back doesn't seem any different than betting 2:1.. this is how I calculate it: …

Member Avatar for Bench
0
343
Member Avatar for Clinton Portis

I am writing a simple program.. enter first and last name and a search is performed.. and their phone number (if found) is returned. I have used vector class iterators before a couple of times.. but devcpp does not seem to like this code.. and stops compilation somewhere inside of …

Member Avatar for iamthwee
0
127
Member Avatar for Clinton Portis

I have an operator overloading question... I have attempted to overload the >> operator so I can read a file directly into a "SongInfo" object, and attempted to overload the << operator so I can display a "SongInfo" object directly to dos console. When attempting to compile, I recieve, "overloaded …

Member Avatar for Clinton Portis
0
128
Member Avatar for Clinton Portis

Having troubles handling text from a multiline edit box.. the first part of this algorithm runs fine by itself.. the second part (highlighted in blue) runs fine as a DOS console project using 'char' data types.. but when I add it to this windows project (using TCHAR's) it distorts the …

Member Avatar for WolfPack
0
686
Member Avatar for Clinton Portis

Trying my hand at extracting user entered data from a multiline edit box... my strategy is to first, get the number of total lines from the edit box.. and the length of each line from the edit box.. and create a dynamic 2D array that is NULL terminated at the …

0
171

The End.