Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~37.7K People Reached
About Me

unemployed poor college student living off ramen. not really.

Favorite Tags
c++ x 32
java x 1

25 Posted Topics

Member Avatar for ~s.o.s~

[QUOTE=everlast;504209]it's extremely interesting, but how does a self-taught beginner like me place oneself in such a great project? thanx for the link and the advice, i hope to be able to use it some day if i learn hard. :)[/QUOTE] As of top coder, there is a "practice" room where …

Member Avatar for gyno
22
7K
Member Avatar for badmofo

Why would you need to use a char array? using int array should be fine. [icode]reverse (num) array[count] = num count ++ get a new num reverse (num) print out array[count] count--[/icode] It might be logically flawed somewhere..just make sure you have a base case (where you would stop calling …

Member Avatar for Ali_40
0
876
Member Avatar for debasisdas

Mark Twain There are three kinds of lies: lies, damn lies and statistics.

Member Avatar for James_28
8
17K
Member Avatar for Nick6425fl

[QUOTE=Nick6425fl;734192] Before you start calculation for average, max and min, you should always set the value to something. For example, you declared double total in your familyAverage. Now this variable called double points to a block of memory. This block of memory may contain some data in it that is …

Member Avatar for DawnDenise
0
322
Member Avatar for nedsnurb

What is it that you are having problem with? Are you getting errors when you compile? Does it compile but doesn't display the correct values??

Member Avatar for MosaicFuneral
0
178
Member Avatar for freudian_slip

Hey all, I use Windows XP and atm, I need to increase the memory allocated from default 64M(i think?) to 500M. So I'm in the directory where the jar file is (I'm using JFLAP if anybody is familiar with it, it's for statemachines/automata) and i type the following: java -Xmx500m …

Member Avatar for masijade
0
92
Member Avatar for oling

You see, you declared num. Now num points to a 4byte block which contains a garbage information. So when you are calling mysterlen, you are giving whatever happened to be stored in that block of memory. What you want to do is set num to 0 before you call the …

Member Avatar for oling
0
103
Member Avatar for imput1234
Member Avatar for imput1234
0
95
Member Avatar for mmeyer49

There's nothing about validating in your book because it's not standard, it's something that you make it yourself. [QUOTE=mmeyer49;729403] * double getSales() is passed the name of a division. It asks the user for a division's quarterly sales figure, validates the input then returns a valid sales figure for that …

Member Avatar for freudian_slip
0
181
Member Avatar for shopnobhumi

If you are having problem with rand() go google 'rand cpp reference'. It has a nice example as to how to use it. And like the above poster has mentioned, >>while (x % answer != 0) answer++; is not a good practice. Since you will check 2, then 3, then …

Member Avatar for skatamatic
0
830
Member Avatar for newbie5150

Well, I'm a noob myself so not really sure if I'm helping you or not but I guess I'll give it a shot. First of all, you did declare typeOfBet and allocated memory for it but what's inside of that memory is just garbage, not related to what you want …

Member Avatar for mrboolf
0
144
Member Avatar for afg_91320

Someone correct me if I'm wrong please. As of array, when you first declare array, you are allocating a block of memory and what you get is a pointer( address of a memory) that indicates where that block of memory starts. And from then on, evertime you access the array, …

Member Avatar for Ancient Dragon
0
97
Member Avatar for cherryteresa

No I don't think that's what her teacher meant. By doing what you did there, you are "hardcoding" this. That is not a good practice. Suppose he wanted to change the char array from "This is a test" to some other phrase, say "i'm too cool for a test". Now, …

Member Avatar for cherryteresa
0
140
Member Avatar for vladdy191

Didn't you post the same topic before? The answer is like two pages behind. h is char but g is int. they are not of the same type.

Member Avatar for Ancient Dragon
0
123
Member Avatar for freudian_slip

Sorry, I lied!!! I usually don't post in "hello i'm a noob at this site" but i just wanted to make a topic that (wrongfully) claimed that i'm not a geek. I'm from US. Btw, Freud is a fraud!! He has made a lot of interesting contribution to modern psychology …

Member Avatar for Denniz
0
49
Member Avatar for Levio91

If you are really determined to learn it on your own, start with little projects. In fact, if you go to one of the stickied threads above, there are a bunch of problems for beginners that you can try to work on. And whenever you have problems, try to figure …

Member Avatar for freudian_slip
0
140
Member Avatar for The Dude

[QUOTE=vmanes;726413]That one looks too much like a dentist's chair. [URL="http://www.poetictech.com/aura/index.html"]How about this one?[/URL][/QUOTE] it looks good... but it lacks a fridge full of food :/

Member Avatar for GrimJack
0
140
Member Avatar for M00nDancer

Er, I'm not really sure what you are trying to do with your do loop. But here's how I would go about it. If I had time, I'd write the actual code but I'm just procrastinating for another project... [ICODE] while (until the end of line character) if letter is …

Member Avatar for M00nDancer
0
148
Member Avatar for shiniboy

Well, upon searching google.... [URL="http://www.cprogramming.com/tutorial/random.html"]http://www.cprogramming.com/tutorial/random.html[/URL] I think it shows good examples of using random number generator using seed and stuffs.

Member Avatar for heerokeno
0
213
Member Avatar for DevC++4.9.9.2

When you are passing row and col to get Data, you are derefenrencing it. But they are of type int. And what does " >> " operator do? I've never seen it used out side of cin >> . [edit] er nvm i didn't read your code right.

Member Avatar for vmanes
0
129
Member Avatar for BRICEK

/high fives mrboolf sorry for non constructive post but people aren't here to do your hw. They are here to help and guide and point out flaws.

Member Avatar for freudian_slip
0
93
Member Avatar for vladdy191

I'd have to say the contents. To check if they refer to same memory locations, you will have to dereference when you compare.

Member Avatar for skatamatic
0
92
Member Avatar for freudian_slip

For some weird odd reason, sqrt(2/num) does not work. [ICODE] cout << " sqrt(2): " << sqrt(2) << endl; cout << " sqrt(num): " << sqrt(num) << endl; cout << " sqrt(2)/sqrt(num): " << sqrt(2)/sqrt(num) << endl; cout << " sqrt(2/num): " << sqrt(2/num) << endl;[/ICODE] results in [ICODE] sqrt(2): …

Member Avatar for vmanes
0
149
Member Avatar for koman

Well, since the description of the readSeq funcion doesn't actually describe what it is returning, maybe it should be void readSeq, rather than int. And as of passing parameters, why do you need to pass the array..? Do you really need a separate function? And how are you getting these …

Member Avatar for freudian_slip
0
119
Member Avatar for freudian_slip

Hi, I'm doing a very very simple coding, However the compiler apparently does not like my usage of cin and gives me an error: no match for 'operator<<' or 'operator>>' depending on cout or cin. I've used this many times before but never have encountered this problem trying to use …

Member Avatar for Prabakar
0
10K

The End.