Beginners - March 2011 (Page 13)

Srandom number
 
I dont get how SRand works xD what would the code be for a simple 0 to 1? the tutorial here is confu...
[2 replies] Last: The psuedo random number generator generates a fixed sequence of numbe... (by kbw)
by ty98
how to make a console program open a file
 
I need to know how to how to make console program open a file like a sound file. do you have en...
[6 replies] Last: That's exactly right. However, I suggest between opening the file and ... (by anonymous23323124)
Loop
 
Need help fixing my loop. My program is due at 11.30 tonight so I need to finish it. Been working on...
[3 replies] Last: I was close to figuring it out, but just couldn't get it just right. ... (by matsom)
SPOJ Problems 2
 
CAn you help to solve this : 4906. Pythagorean Triples Problem code: PYTHTRIP A Pythagorean t...
[1 reply] : This isn't a homework service. Try to solve it yourself first. If yo... (by Disch)
[Linker error] undefined reference to `factorial(int)'
 
i have a problem. it's said "[Linker error] undefined reference to `factorial(int)'" So, what sho...
[2 replies] Last: and then, what should i do?? i'm just a beginner programmer (by Angga Kasi Saini)
How to link C++ coding to API format
 
I am doing my project, which is an actual online registration system, that gives the users different...
[no replies]
Forcing C++ compiler to run as C compiler?
 
Using GNU GCC compiler, what flag can I use? I tried -std=gnu89, but it didn't work.
[9 replies] Last: not that I intend to do it: I'm just curious)? I mean they never try... (by stereoMatching)
by snc413
How come my solution only multiples 0.4 not 0.5?Under AccountType 'C' or AccountType'c'
 
// Steven Cruz // Assignment #3 pg 227 #11 // IT 1004-01 // March,23,2011 # include <iostream>...
[1 reply] : Please use tags. I have fancied it up a little (tags, indenting etc... (by Danny Toledo)
C++ prime perfect prog formulas not working
 
pretty new to this, structure and input formatting is correct but formulas always answer not prime...
[no replies]
mm/dd/yy conversion switch case
 
so im taking my first programming class for scientist and engineers using c++ and have been doing OK...
[8 replies] Last: @Duoas albatross is right, getting program written properly and under... (by unclebenny2003)
by scaf
Spaces not working.
 
We are trying to make the console type what the user inputs but when the user uses a space it only u...
[5 replies] Last: I know, i was using 2147000000 as a test number. (by scaf)
Struggling with c++ assignment
 
Hello! I'm new at c++ and I ve already missed some lectures so I am really confused about this assig...
[1 reply] : You must use a C++ loop Aw, no Fortran loops? :( There are two thin... (by Albatross)
Counting values in file, struct
 
10 or so values in a file, only shows up one when compiled and ran. I know the problem is with the e...
[2 replies] Last: oh sweet, I got it now, thank you. Always get tripped up on easy fixe... (by kyyleofthemist)
by Sina
Class nesting??????
 
Hi, Can any body tell me in the following statement what the function of the line 'class Memory ...
[2 replies] Last: Thanks a lot. (by Sina)
Running Total
 
I'm trying to figure out the running total, but I don't understand it. (Sorry, this is for the sa...
[no replies]
C++ first programming language.
 
If suppose someone has no previous programming experience in any of programming language,so he can ...
[9 replies] Last: +1 Duoas I have found any language pretty simple to learn once I lear... (by ultifinitus)
I need help...I have final exam tomorrow (1,2)
 
hello everyone...I really need ur help guys i dont really understand C++ well...and i hav final e...
[27 replies] Last: As Albatross stated, there is a difference between "helping" a person ... (by packetpirate)
by nupy
if else statements
 
Hey all. I'm trying out strings and I wanted to add an if else statement to it. Here is my code s...
[5 replies] Last: Ah, I got it. Thanks a lot guys! (by nupy)
How to put a 0 in front
 
I'm writing a code that uses file input to write out dates... the output needs to look like this... ...
[2 replies] Last: if (!fin) { fout << "Can't open input file" << endl << endl; ... (by daveofva)
by Sina
the use of ":"
 
I am trying too read a code amd I encountered such a statement: class Pointers { public: Point...
[3 replies] Last: No problem :) (by anonymous23323124)
March 2011 Pages: 1... 1112131415... 52
  Archived months: [feb2011] [apr2011]

This is an archived page. To post a new message, go to the current page.