Beginners - February 2013 (Page 10)

by T4l0n
why this doesn't work with char ?
 
i made a simple calculator using floats and string: #include <iostream> #include <string> using ...
[1 reply] : You'd also need to change the if statements to check for a char litera... (by Lynx876)
Function isn't calling?
 
Why in the world is the function not calling? #include <iostream> #include <string> using name...
[4 replies] Last: lol good stuff (by tj3434)
I have no idea what to do
 
Can someone explain what my prof wants? I am really bad at pointers and have no idea how to use them...
[1 reply] : http://www.cplusplus.com/doc/tutorial/pointers/ (by SamuelAdams)
Bubble sort
 
//Bubble sort(COMPILED N EXECUTED ON BORLAND C++) #include <iostream.h> #include <conio.h> void ...
[6 replies] Last: Yes, noobletplusplus is correct. (by Chervil)
Pointer with a struct
 
So, I need to reference the struct of student info, but Im not allowed to use any parameters on the ...
[4 replies] Last: studenta has different scope and not on main() 's variable scope... (by chipp)
Program delays before displaying (SDL)
 
I don't know whats going on here but the delay seems to happen before the display even though it com...
[2 replies] Last: Ahh.. makes perfect sence lol, thanks (by jadegnan)
Fatorial from 1 to 20
 
#include<iostream.h> #include<conio.h> void main() { int a,b,c; for(a=1;a<=10;a++) { b=1;...
[10 replies] Last: Ah I see that now. OP's post wasn't clear. I thought he was explaini... (by ResidentBiscuit)
Help with 2D Array
 
I am trying to do some math to values inside a 2D array. What I ultimately want to do is take the a...
[2 replies] Last: The post/pre increment/decrement (++x,--y,etc) also modify x and y, yo... (by noobletplusplus)
C++11 initializer lists ugly?
 
const CodeType dms = std::numeric_limits<CodeType>::max(); versus const CodeType dms {std::nume...
[3 replies] Last: Uniform initialization? Like: It makes the 'most vexing parse' proble... (by JLBorges)
why does this transpire
 
I'm confused, someone explain? the errors are odd #include <iostream> int main() { std...
[4 replies] Last: There is no need to use a subscript with a pointer because that pointe... (by closed account 3qX21hU5)
Pointers and Vectors
 
Hi, i have to solve the following exercise. Write a constructor for the class testArray which uses ...
[3 replies] Last: in the testArray::testArray(int arg) constructor you are declaring a... (by noobletplusplus)
Get name and number in one line
 
Hey there, I'm writing a program that takes 5 players names and scores and sorts them and outputs t...
[4 replies] Last: Yeah, sorry about the input. I just used hardcoded data as an example.... (by Lynx876)
by Kai82
Urgent Help, pls......code block hello world.
 
I have a problem on my code block when making the hello world! Although i try search in internet bu...
[4 replies] Last: I'm afraid that's a little out of my area of knowledge. Try asking at ... (by ausairman)
Polar coordinates of a point
 
Hi, I want to create a program in C++ that can find polar coordinates of a point, can somebody hel...
[2 replies] Last: Google "Rectangular to Polar" I need to use classes, right? The task... (by Chervil)
assignment help!!!!!
 
1)use for loop statement to display
[6 replies] Last: Here is the idiom for doing something 10 times: const int SIZE = 10... (by TheIdeasMan)
conformation!!!
 
is this acorrect way to show the display of(using for loops) a aa aaa aaaa #include<iostrea...
[2 replies] Last: What you did would work fine, but below code would be more clean and f... (by a k n)
Checking the occurrence of characters from binary file
 
The main program asks for user input of what ascii decimal value they wish to know the occurrence of...
[1 reply] : You don't show the code where (a) the file is opened and (b) you find ... (by Chervil)
printf("%what",..) for user defined types
 
typedef struct Node { int data; struct Node *next; }node; node* var; ..... printf("...
[no replies]
Made it about 1/3 through my book... Help
 
Hello, I joined this forum not too long ago, after deciding that I wanted to learn C++. After doi...
[no replies]
Linkable classes
 
So, I'm reviewing a program on pages 193-195 of C++ for dummies, 6th edition. [o // LinkedListData -...
[3 replies] Last: THANK you! Makes a lot more sense now! ^^ (by Shinji2013)
February 2013 Pages: 1... 89101112... 67
  Archived months: [jan2013] [mar2013]

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