Beginners - November 2017 (Page 12)

C++ Procedure to Function transition
 
Hello, I started learning C/C++ by taking a class and everything was going smoothly until we had to...
[2 replies] Last: Thanks for the reply, after looking carefully again, I realized where... (by ashley50)
by Baps
Need help adding a while loop to my codeblock. Newbie here, having some trouble!
 
This is the codeblock I'm working on, and I need to implement a while loop to run it infinitely unti...
[4 replies] Last: Nice! Ok, so I input the changes you have made, and the program runs! ... (by Baps)
by mcr1
Pointers and Dynamic Memory Allocation, using Classes
 
So, I am in my first ever C++ lab now, and I am working on this lab. I am not understanding how to e...
[1 reply] : Design a class that has a pointer to the string array and the array ... (by Repeater)
by Hanske
Which heap pointers to delete
 
Hello, I am curious if we have pointers and pointers to pointers to pointers, which variable must...
[10 replies] Last: It works because the thing on the left is the same type as the thing o... (by Repeater)
by srk100
File and Sorting 2.0
 
I am still getting.... 15: expected expression| 17: expected expression| Updated code: #includ...
[5 replies] Last: thank you for the help i will see what i can do. (by srk100)
by srk100
ASCII
 
Help Help!!!!!!!!! Question: Write a program that reads the integers in the file “flints.txt” (...
[8 replies] Last: According to the instructions, the input file must be named flints.tx... (by mbozzi)
basic calculator
 
Hi guys so I am reading Bjarnes principal and practice for the first time,and I am going over an exa...
[6 replies] Last: that's perfect Andy,completely understand now =) much appreciated for... (by adam2016)
help with system ("pause"); return 0;
 
Hello, I am writing a program for class and I feel I have the code worked out well. However when I t...
[3 replies] Last: this: system("pause"); return 0: } is not in any function. Addit... (by joe864864)
Smart way to split a vector into smaller overlapping vectors?
 
I am currently looking for a way in which i can split a vector into a number of smaller vectors. I ...
[6 replies] Last: what do you mean by checked and unchecked slide? (by DrJones)
switch E1578
 
Problems with line 25. number "3" gets underlined and puts out an error message " E1578 case label ...
[1 reply] : You can't use expressions as case labels (you can but it's not going t... (by Peter87)
String and a loop
 
Hello! I want to get all the names that do not end with 's' and print them out AFTER I print their c...
[7 replies] Last: If you put them in an array (or vector) of strings then just output th... (by lastchance)
Card Game
 
Hi there, I'm working on a school project and I've gotten stuck and I was hoping for some guidan...
[3 replies] Last: I messaged my professor and they cleared things up, my deck.cpp is sup... (by arblinked)
Issues making a Mad Lib
 
I'm trying to make a Mad Lib program for my intro to programming class. It's a little different fro...
[no replies]
wrong results from a code
 
I need to count the number of character, lines and spaces in a file and the following code displays ...
[4 replies] Last: Use: while getline( input, line ) { ... } Add a count to the number... (by lastchance)
StreamString Breaking???
 
Can anyone help me figure our why my stringstrem s and stringstream chunk keep breaking/not working?...
[4 replies] Last: Hello cc1234ssc, After working with the program for awhile I had some... (by Handy Andy)
need help fast
 
please explain me why this does not work and show me the correct form #include <iostream> using ...
[7 replies] Last: Well, sure. You could have x = 0; in it. But what's meant to happ... (by Repeater)
Simple question regarding implicit casting.
 
So i had an assignment in which i had to create namespace test in which i was supposed to create a c...
[13 replies] Last: Ok, let's see if i understood this well, basically, since i had to c... (by cdummie)
Question on quicksort
 
I would like to ask about ascending quick sort. The program goes in infinite loops when I try to sto...
[4 replies] Last: Ah thx finally did it (by wakaka3910)
by srk100
Help Help!!!!!!!!!
 
Help Help!!!!!!!!! Question: Write a program that reads the integers in the file “flints.txt”...
[no replies]
Minimum Value wont output
 
Hello, would anyone know why my code keeps outputting 0 for the min? Everything works except the min...
[no replies]
November 2017 Pages: 1... 1011121314... 33
  Archived months: [oct2017] [dec2017]

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