Beginners (Page 95)

by NOD32
Need help fixing these errors
 
I'm writing a program that takes input in the form of two fractions and then performs multiplication...
[4 replies] Last: ok i referenced those variables in the argument and the program is wor... (by NOD32)
by mitoma
Error switch, help me please!
 
hi guys, i have a problem whith switch.. help me please.. errors: - expected unqualified-id before ...
[1 reply] : I hate to point these simple things out but it seems that your switch ... (by Tom56785)
by soranz
VS2010 new directory for classes to include/link to projects
 
I have a couple of classes split into .h and .cpp that I placed together into a separate 'classes' d...
[2 replies] Last: The classes have been tested in their own consoles so the definitions ... (by soranz)
What did I do wrong that setw() function not working?
 
Correct me if i'm wrong. From my understanding of setw() function is to make spaces? So why is that ...
[2 replies] Last: setw creates spaces on one line.. if you want the output to be on line... (by coltehrman)
Passing objects from a swapfunction
 
I need to sort the vector and have made a swap function. I can´t pass the name and age to the funct...
[2 replies] Last: Thanks tipaye! You solved Everything, now I have to study it. Incredib... (by patriic48)
Infinite Loop
 
Hi. I'm having a problem with this code. If I enter an integer value, it works just fine. However, i...
[8 replies] Last: You originally intended to reject entries less than zero or greater th... (by PCrumley48)
How does this code work?
 
Write your question here. # include <stdio .h> int abc (int a) { int x =10; printf ("\ t...
[3 replies] Last: int x =100; int a =20; a=abc(x); x=abc(a); This is in your c... (by Manga)
I just started with class and I need help debugging.
 
I wrote this code and I cant figure out where it's all gone wrong. My complier says "ld returned 1 e...
[5 replies] Last: Thanks I did it and it works. I will update the code. PS: I am learni... (by IvanErlic2000)
by xello
Argument passing clarification
 
Hello guys forgive the code dump but if i can direct you to the few lines I have highlited in bold a...
[5 replies] Last: Thanks a lot for that info that clears it up for me. I'd be all over y... (by xello)
My ternary operator
 
I don't think I'm understanding how this works. int diceTotal = diceDisplay() + diceDisplay(...
[1 reply] : Then the ternary operator is inappropriate. What you're saying now (tr... (by booradley60)
by CaseyM
Triangle Problem
 
Hello Everyone! I've been taking a intro to C++ class at school and was given the following pract...
[2 replies] Last: Straightforward solution: 1) Find offset O by substracting respective ... (by MiiNiPaa)
Program to check numbers inputed
 
Write your question here. I was asked to write program that checks numbers inputed by a user. It ...
[1 reply] : Line 65: num is a local variable. You don't pass it as an argument t... (by AbstractionAnon)
by thor36
strcpy_s from an old C/C++ library in C++ program
 
Hello all, I am trying to write a program that uses a library, which is rather old and was original...
[4 replies] Last: Since the strcpy_s() function was used incorrectly in the first place,... (by jlb)
Entering values to a vector and print it
 
I can´t get all the values to print and I get a value printed at the first row that isn´t supposed...
[2 replies] Last: Solved it. Thank you :) #include <iostream> #include <vector> usin... (by patriic48)
by Occam
Reading from file
 
A function takes a word from a list, counts how many letters it contains and print it out like this:...
[5 replies] Last: I couldn't get strlen to work. Maybe i would have to restructure the c... (by Occam)
by k99
what is this dot?
 
example = str.emphatic(); what is this .? is this a assigning function prototypes? base on the...
[2 replies] Last: Thanks miinipaa (by k99)
Everything seems to be working but read from file part
 
If someone could please help me grasp reading from a file i would appreciate it. #include<iostrea...
[18 replies] Last: it's has to be an issue with how im opening the file or something beca... (by jafox192)
Help with program
 
Please help with my program. #include "StdAfx.h" #include <iostream> #include <iomanip> #in...
[8 replies] Last: Line 29,34,303: You're trying to compare ints to a quoted string. ... (by AbstractionAnon)
Result outputs 0
 
Hi there, I am just testing a simple maths equation here. Lets say i want to perform (123456789...
[5 replies] Last: i think that your compiler doesnt support out of range number so it wi... (by Lorence30)
Recursion
 
Write your question here. How do i define a recursive function printing a diamond
[5 replies] Last: sorry if didnt take not of int p= 1 of line 4 ... (by shadowCODE)
Pages: 1... 9394959697... 129
  Archived months: [sep2014]

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