Beginners (Page 6)

by salah
count the number of even, odd, and zeros in digit
 
plz need help with this code(urgent) #include<iostream> #include<cstdlib> #include<ctime> ...
[3 replies] Last: @PBachmann Make sure you use comment blocks if comments are long! ... (by Lucsofhazard)
asking for guidance about game programming
 
hello, i've never wrote a thread like this before, so i hope you enjoyed the title x) i know that ...
[9 replies] Last: @dhayden I'll check that out too! I didn't know that! Thanks! :) (by SonDavid)
by stav
detecting os during runtime
 
how do i go about detecting the os during runtime rather than compile time? (so that i only have to...
[1 reply] : Do you mean different versions of the same OS? You can't, generally sp... (by helios)
tolower() not working
 
If I input "2 Bad Dogs", the correct output should be "2baddogs", but instead, I get "2BadDogs". Any...
[5 replies] Last: Thanks guys :) (by mistersunnyd)
CStrings
 
I tried to compare 2 CStrings but it doesn't seem to work : char i ="hello"; char f ="hello"; ...
[1 reply] : No, strcmp() returns one of three values, greater than zero, zero, les... (by jlb)
Codeblocks problem
 
Hi guys what I'm trying to do is access the .exe part of the file i go into the directory then bin f...
[1 reply] : Stickied post at the top of the fouum. http://www.cplusplus.com/forum... (by AbstractionAnon)
program crashes when enter struct array element
 
My program will allow the user to input a enter data to fill an array of the struct animal. for some...
[2 replies] Last: Line 17: Array is an uninitialized pointer. No space is allocated fo... (by AbstractionAnon)
Input file cannot be opened
 
Hello guys, I'm doing a mini project about student admission data and currently my "case c" and "cas...
[1 reply] : lines 126-128,142-144: You're swapping only the student name. You ha... (by AbstractionAnon)
my sorting program doesn't work
 
Problem solved!
[6 replies] Last: Please don't delete your post. It makes this thread useless as a lear... (by MikeyBoy)
by Tcm
'std::bad_alloc using boost library odeint
 
Hi I am new to c++ and boost but i was asked to solve some ode's. I tried using a stiff method, it c...
[3 replies] Last: How can I initiate the calculations from x = 20e8 and x = 0.1 ? Use... (by coder777)
Manipulating the Console Screen (Confused)
 
Hey guys, basically I have to write a program that makes the word "DOWN" appear at the top (near mid...
[1 reply] : A few suggestions. 1. a) Use functions rather than repetitive code. ... (by Chervil)
by ckh96
Vector Functions
 
I am trying to write a void function that outputs my vectors into my main. I have the following code...
[1 reply] : #include <iostream> #include <vector> #include <cstdlib> #include <ct... (by JLBorges)
Compare sallaries of two employs from class
 
Write your question here.please tell me that how to acces instances of class and how i compare insta...
[2 replies] Last: #include <iostream> #include <string> using namespace std; class b... (by PBachmann)
by Axrol
Help me with If statements but with text !?
 
#include <iostream> using namespace std; int main() { int answer; int answer2; ...
[7 replies] Last: = is for equations? It's best to not think of the = as having anyt... (by Chervil)
by a275
Add Variables with Predefined Values
 
So I am trying to write a program that lets the user enter 3 letters. I assigned values to upper and...
[4 replies] Last: Hm, OK I will have to look into that. Thanks. (by a275)
content
 
content
[2 replies] Last: Line 24: Do not loop on !eof(). This does not work the way you expect.... (by AbstractionAnon)
content
 
content
[3 replies] Last: http://www.cplusplus.com/forum/articles/40179/ (by cire)
Pair Programming
 
Hello everyone, I'm new to the forum. I have been learning and studying C/C++ on my own for quie...
[2 replies] Last: Thanks for the tip! (by SonDavid)
Exiting while loop
 
I don't know why, but my program keeps exiting while loop ( the one inside "if" statement) the inpu...
[3 replies] Last: There is a text file that contains thoese characters (as I said "input... (by MagicKriss)
Functions Help
 
How do i get this 'fun' function to run properly in the main function. Also, any advice on functions...
[4 replies] Last: Line 8: Why are you even passing n as an argument? The int n at li... (by AbstractionAnon)
Pages: 1... 45678... 72
  Archived months: [mar2016]

Cannot post in this page. To post a new message, go to the first page.