Beginners - February 2015 (Page 26)

by Nillen
"const type" can't be an int
 
Just started with C++, no programming experience apart from working with mSL. My idea is to have use...
[1 reply] : http://www.cplusplus.com/reference/string/string/ (by keskiverto)
String does not name a type
 
Hello, I think this is a fairly easy solution but I'm just missing something. I'm getting an error i...
[4 replies] Last: Thanks guys! This helped fixed the errors. (by androidguy1)
Deconstructor issue!
 
I don't think my deconstructor is working properly the message in the deconstructor, to let the u...
[11 replies] Last: Actually the stack takes care of itself. You only ever need to delete... (by Texan40)
Magic Square help!
 
I have to write a program which checks the conditions of this specific 2D array: const int Size = 3...
[5 replies] Last: Hasn't that been answered already? for( int x = 0; x != Size; ++... (by OxBADC0DE)
Doing Do-while loop
 
So I'm supposed to write a code that prompts a user to enter a number less than 100, until the user ...
[3 replies] Last: But thank you though. (by calisabeth)
Can't figure out how to add space.
 
So the problem wants me to write code that gives me output like this: 0 *1 **2 ***3 There is a ...
[3 replies] Last: Sorry guys. When I put my example in, I thought it would show the spa... (by calisabeth)
Deck was not declared in this scope problem
 
Hello, I'm trying to get my player1Hand function to work with my deck function so cards can be drawn...
[3 replies] Last: You could declare the deck in main() and pass it by reference to deckF... (by closed account D80DSL3A)
Recursion problem.
 
I've written the following recursive function. But when I give large value in it, it crushes. Why? H...
[3 replies] Last: you can try following non-recursive function. #include <iostream> in... (by anup30)
Issues with Newton's Method
 
Hey Guys I have to write a Newton's Method program for a class I am in and I am running into some i...
[1 reply] : What is the value of x1 on line 15 the first time through the loop? (by cire)
parameter packs not expanded with '...' ???
 
I tried to define this template function and the compiler generated a error saying "parameter packs ...
[4 replies] Last: Okay, I see. Thanks for your reply! (by glenjoker)
Starting out with C++ 7th edition- chapter 8 programming challenges #1
 
Hi, I'm trying to do challenge #1 from the programming challenges in chapter 8 the code complies bu...
[2 replies] Last: That worked thanks!. (by overlord49)
Yes/No by If/Else Char Response in C on Visual Studio 2013 Compiler
 
Hello this is my first post. I am taking an introduction to C class in my college and the assignment...
[6 replies] Last: Magnificent! This cleared it up and it works perfectly now. Thank you ... (by airfire29)
by kiri
oo
 
..,.
[no replies]
Need Help using txt file.
 
i am trying to make a program that reads a username and password from a txt file then makes you log...
[no replies]
doubly linked list help!
 
HI,I doing the program for my college and I don't Know why show "segmentation fault , please if you...
[no replies]
MenuBuilder: wont show the menu selection
 
Not understanding why the choice entered in the testMenus1 will not run through the switch statement...
[no replies]
Bubble Sort C-String
 
Hey guys I'm encountering an error when trying to sort char * (C-strings). I'm not really sure what ...
[1 reply] : void bSort(char *arr, int n) { for (int i = 0; i<n; i++) { for (i... (by anup30)
Bug at the end of my program
 
I have no idea why this isn't working. I've tried so many things. It runs all the way through but sa...
[2 replies] Last: That shouldn't be an issue. That's just saying if cin is not the right... (by bigzigzag)
by HelenI
String to int
 
hey, i want to convert a string into an int. how do id do that?
[2 replies] Last: thank you :) (by HelenI)
Polymorphism
 
Hı guys.I have problem with a example which is in Big C ++.I don^t execute this example.When I uses...
[5 replies] Last: thanks you for helping keskiverto.I solved the problem.I reoved cpp an... (by earthquake)
February 2015 Pages: 1... 2425262728... 52
  Archived months: [jan2015] [mar2015]

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