Beginners (Page 3)

Problem with if... else.
 
I've had this issue before, and someone suggested using a bool variable. The problem is we haven't "...
[9 replies] Last: Yeah, fg pointed that out too. I fixed it promptly, and I'll let my in... (by Xatasha)
Problem: Searching N elements from an array which sum is X
 
You are given S,X and N. S = size of an array N = number of elements you have to find X = sum Yo...
[3 replies] Last: I am a beginner. There is only brute force (linear search) approach in... (by ProgGeek)
Need help with data handling
 
Hey I need some help with file handling. I am making a math quiz. I am stuck on the last task of my ...
[3 replies] Last: Exactly what changes did you make? (by fg109)
Need help with data handling
 
Hey I need some help with file handling. I am making a math quiz. I am stuck on the last task of my ...
[1 reply] : Duplicate threads: http://www.cplusplus.com/forum/beginner/160683/ ht... (by fg109)
how to check if a file is emtpy with ofstream
 
How would I go about creating a if statement checking if a file is empty ex.a text file with no text...
[1 reply] : http://lmgtfy.com/?q=checking+if+file+is+empty+c%2B%2B (by TarikNeaj)
Palindrome Error
 
Hi, I've to made a program to check whether a string is a palindrome or not.. I've made following p...
[12 replies] Last: > why is this not working now because it doesn't build. c++ is case-se... (by ne555)
Can't convert a string to binary
 
Hi guys, can you re-write my program where it's mistaken ? I can't figure out how to convert my inpu...
[14 replies] Last: nice...... :D (by programmer007)
Declaring variables problems
 
Hello, I have some questions about declaring variables, its giving some problems a character var...
[1 reply] : a character variable c initialized to “y” may look like char... (by programmer007)
by el2015
Lingo in visual studio c++
 
HI guys, I need lingo in application with visual studio c++.How to call Lingo in visual studio c++ ?
[no replies]
Help
 
Please help me to solve the C++ problem to find out the difference between 2 hours???(hh:min) ...
[4 replies] Last: cout<<"\nThe difference is "<< Ct- Ot; // should be Ot - Ct ... (by TarikNeaj)
given postorder and inorder,output preorder
 
given preorder on first line and then inorder on second line ,then print postorder on third line...f...
[3 replies] Last: give you as a reference http://blog.csdn.net/u012315428/article/detail... (by sirrunrun)
by Ch1156
How can i use getters and setters with math? (1,2,3,4)
 
I have a function in a game i'm working on that is the shop function and I need to do some math for ...
[73 replies] Last: Hi, C:\Users\thund_000\Desktop\Class Project\CMedical.cpp||In constr... (by TheIdeasMan)
1st exercise about pointers
 
Hi, i had this exercise in the book I'm reading and I'm wondering if i did it right like the author ...
[3 replies] Last: Thank you guys, really good stuff. Now i can happily continue my quest... (by etrusks)
How to read/write a bmp file?
 
I want to write a code which make a image .bmp and to choose pixels colors from a file named pixels....
[no replies]
by koopey
recursion in linked list to remove node
 
hi guys. while running this program, i am getting program stopped working error. i want to remove a ...
[no replies]
Array and If Statement - Can't Get Expected Output
 
I'm incredibly new to C++, in my first semester of a university computer science course. I've bee...
[5 replies] Last: Oh, I apologize. I missed your actual question when I answered. fg109... (by Zhuge)
ofstream Assistance
 
Hello guys, so my ofstream is doing something very strange, it is spitting out junk to the file w...
[no replies]
Bubble Sort Issue
 
I'm having an issue figuring out how to make a bubble sort, sort by high school name. I am suppose t...
[2 replies] Last: https://www.youtube.com/watch?v=TVL5_1NWviA&index=2&list=PLHJE4y54mpC6... (by TarikNeaj)
Input words not being recognized in simple "if" statement
 
This is the first code that I have tried to write without directly following a tutorial. It is a si...
[11 replies] Last: happy to help :D (by programmer007)
cout not a member of std
 
My cout isn't working. I have upstream so what's up? #include <stdio.h> #include <iostream>...
[1 reply] : On line 57? cout does not have a capital C, and identifiers are case... (by Zhuge)
Pages: 12345... 103
  Archived months: [jan2015]

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