Beginners (Page 72)

Need help with if statements inside a function
 
I've got this program to prompt for current time in 24 hour format. I use functions to convert the t...
[2 replies] Last: Thanks for the reply, I actually changed it to have a = 'p' before the... (by MrBond90)
Help with error invalid operands
 
I am getting an error in my program that I am writing, and I am not sure how to go about fixing it. ...
[2 replies] Last: Well I feel pretty foolish for missing that, thank you for the help. (by titan93)
Can't reopen a file with different words
 
I'm having to build a Hangman game and within the game I've developed a void function that will open...
[5 replies] Last: Hmmm you would have to do some tedious work setting the filestream poi... (by megatron 0)
A fun project for myself - The Skyrim Alchemy System
 
I've played a bit of Skyrim today, a cool project came to me when doing some alchemy: To implement a...
[3 replies] Last: If you want to copy Skyrim alchemy system, these links might help you:... (by MiiNiPaa)
New programmer -- need help with boolean expressions
 
I have an issue with my boolean expressions. I want my code to be able to specify between male and f...
[2 replies] Last: Looks like you're using ands when you should be using ors. (by mutexe)
strstr error
 
I'm using strstr to search a c-string but it doesn't return false. The compiler just crashes when it...
[4 replies] Last: The read function reads in a word then a word that it wants to sub it ... (by mtbrooks1993)
Recursive Function to determine the #of even digits in an integer
 
I am new to C++ and i wrote a recursive function to display the number of even digits in an integer....
[2 replies] Last: What about now with this code. #include <iostream> using namespace std... (by duvster614)
output empty
 
i did a binarysearch usig c++ but the output is empty #include<iostream> using namespace std;...
[3 replies] Last: No, thank you anyway. You give it a try. (by jlb)
by And G
Minimal example program for importing and exporting bitmaps (Windows)
 
(Disclaimer: This is not a "do my homework for me" thread. Also, it's more about libraries and WinAP...
[3 replies] Last: It is possible, but you will have to iplement actual header format sel... (by MiiNiPaa)
by poupas
error C2512: 'Image' : no appropriate default constructor available
 
Hello friends, I'm new at C++ and i've been trying to solve this problem for hours but i can't fin...
[9 replies] Last: Yes it was about the construtor, for the pointers i used vector (some ... (by poupas)
HELP!!!! AGAIN AND AGAIN!!!!
 
We don't understand this errors: C:\Users\RED1\projects\MiProyecto\Debug\main.o: In function `mai...
[5 replies] Last: I don't believe you :) Did you change the function declarations like I... (by mutexe)
by kdg926
Help with a min/max problem
 
I am having problems getting correct output for my code that is supposed to read an unspecified numb...
[2 replies] Last: Once again, you are my savior. (by kdg926)
Static Variable problem
 
I have this assignment for school. Here's what I have so far. Can anyone tell me if I'm on the right...
[2 replies] Last: #include <iostream> using namespace std; double pb(double arg) { st... (by anup30)
snake game in C++ with header files
 
Hi I just finished a code for a snake game hope you like it an hope you can improve it but please if...
[no replies]
need to convert a c++ string into c string
 
I can't seem to find a good example on the internet on how to convert a c++ string into a c string. ...
[4 replies] Last: C++11 has this built in so you can just pass in the string. (by FSM Worshipper)
Compare char array with char array from struct
 
Hi, im new here because my frustration made me sign up. :D Further: sorry for my possible bad engli...
[9 replies] Last: Sorry for my bad explanations. char str ; then t.getline(str , 900)... (by meetfinger)
by sayeed
++ Prefix Operator
 
I do not understand why the below program is displaying 22. As I understand it should be 21 as 6 + 7...
[5 replies] Last: @ keskiverto Thanks for the advise. (by sayeed)
Operator Overloading
 
I have code here that I am trying to understand operator overloading, I have hit a road block with a...
[18 replies] Last: I now get a compiler error Which error? Which line does it refers to?... (by MiiNiPaa)
by wolfv
undefined reference to class function
 
Please tell me how to compile this code. main.cpp and DerClass files are in different directories. ...
[5 replies] Last: Thanks ne555; that was it! I forgot to list all the cpp files. This ... (by wolfv)
Problem in my program
 
Press any key to continue . . .
[1 reply] : Q: Where does the readin() store the values to? A: To local variables.... (by keskiverto)
Pages: 1... 7071727374... 110
  Archived months: [oct2014]

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