Beginners - March 2010 (Page 26)

by Robo66
do while with strstr Statment
 
It's been a long time since I coded anything. I'm having problems checking the equalty of a string ...
[4 replies] Last: I wonder if it's the fegets() that is your problem. It says here http:... (by Computergeek01)
by oman
return float in return value function
 
hi every body! my question is: How can I return float value in return value function to the main ...
[1 reply] : Structure of a function: type name ( param1, param2, ... ){ body }... (by jRaskell)
A program that collects users information Question
 
Here is my code it complies but when it asking the question it work all the way up to when it ask yo...
[4 replies] Last: Ok I got my program to work using something else but I was wounding is... (by OnymousIllusion)
structure declaration
 
hi im new to C++ and got stuck on some parts of assingment which i seek help :) say i have structur...
[2 replies] Last: OMG that worked. thanks for help didn know it was that simple. (by whoami32)
Array in C++
 
Hi to all I need your help in this question An integer array is defined to be sequentially-bound...
[1 reply] : We can assist you in completing the assignment, but in general we are ... (by jsmith)
Anyone assist me with this...... please
 
Below was my try , doesnt seem so fine // program to calculate 1+1/2 + 1/3.......1/100 #include ...
[4 replies] Last: #include <iostream> using namespace std; int main ( ) { float sum ... (by Sergius)
Trouble with my bool
 
Alright, so I've tried a couple things to get my bool to return what I want it to return and I can't...
[7 replies] Last: Thanks for your help. I don't know why I thought that needed to be in... (by Thecrow471)
by cmhATX
Array problem. Unknown errors
 
Just think of me as a total noob. I have some errors that i don't understand and could really use so...
[1 reply] : What are the errors? (by firedraco)
by orbit
Program to determine palinedromes.
 
Edited:**** This program I'm trying to write is part of a homework assignment, but I'm having major...
[13 replies] Last: This was my final answer btw. #include <iostream> using na... (by orbit)
by kcc15
unable to display a file
 
I have to do a program that counts different types of characters in an ordinary text file. We are su...
[6 replies] Last: I need to have it output how many characters are in the text, includin... (by kcc15)
by mulpro
Problem with chained overloaded operator
 
OS: Ubuntu Linux 9.4 GCC: v4.4.1 I'm writing a String class while learning about operator overlo...
[1 reply] : /facepalm I just realized I was thinking my conversion constructor ... (by mulpro)
by opsarc
Not declared (Even though I declared it)
 
#include <iostream> #include <fstream> using namespace std; ifstream::pos_type size; char...
[2 replies] Last: Actually, putting the for statement in the if statement worked well. T... (by opsarc)
Histograms
 
I have a lab project due for my C++ class soon that I'm having a lot of trouble finishing. The proj...
[no replies]
Undefined reference to '_WinMain@16'?
 
Here's my code: #include <iostream> using namespace std; struct intStruct{ int num; };...
[4 replies] Last: you need a main() function where you use your functions.something like... (by Vidus)
initializing a variable inside a struct
 
struct birthday { int month, day, year; }; struct person { char last ; char first ; b...
[1 reply] : You can't declare a variable's value in the definition of a class. It'... (by tummychow)
odd issue with increment operator in postfix
 
I was writing code like this: ifstream input("data.txt"); char ar1 , ar2 ; int n = 0; whi...
[2 replies] Last: The thing is, the first time through the loop, n seems to be incremen... (by Disch)
by vlad61
"if" question
 
how can i make it so that when i use input strings to ask for a name can i make it so if the user do...
[5 replies] Last: The string contains's at least two words if there is one or more white... (by R0mai)
problem with pointer
 
Can anyone tell me what the difference between int* pt and int (*pt1) is? I've been pla...
[7 replies] Last: (this makes it an array of pointers?) Not quite.. it makes it a p... (by Disch)
how can we find two inputs x1, x2 such that ƒ(x1) = ƒ(x2)
 
Dear all, I am a newbie in c++ and am having some difficulty to find a pair of (x1,x2) such that ...
[2 replies] Last: I barley recognise this formula. Which is it? I remember something lik... (by Computergeek01)
Do-While Loop problem
 
For your birthday, you received $10 gift certificate for an online music store. You can buy songs un...
[2 replies] Last: Thank you! (by MicMagicFly)
March 2010 Pages: 1... 2425262728... 34
  Archived months: [feb2010] [apr2010]

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