Beginners - November 2015 (Page 14)

How to initialize a struct, which you need for a function as parameter, in the function signatur
 
Hi everyone, im wondering if there is something similar to java in c++ to create/initialize an obje...
[4 replies] Last: Thanks, that was exactly what i'm looking for ! : D (by newnoob)
Store/Print Linked list
 
Am I not storing my linked list correctly? Or am I just not printing correctly? Can any direct me to...
[1 reply] : Looks like I got it figured out. For some reason I had head = nullpt... (by EdWar82)
Help with basic recursive function? [C++]
 
Hello, I have a quick question, I just learned about recursive functions today and wrote this small ...
[3 replies] Last: You are welcome. By the way, I'm not sure exactly what you're trying ... (by mgoetschius)
File operations and structured data
 
Here's the software I wrote: https://gist.github.com/anonymous/b2e0bf58a4d8ceeb0ca6 Here's the...
[2 replies] Last: There are a number of errors, I pretty much found all of them, but I w... (by Chervil)
Reads in strings from a file
 
I have to modify a program that I wrote for my last code. I need to modify it so it reads in 20 stri...
[1 reply] : Please put your code in Code tags. http://www.cplusplus.com/articles/j... (by SamuelAdams)
by dgadk
Reading a matrix into 2d array
 
Hi all. First off, this is for homework and I want to learn it on my own, but I could use some point...
[2 replies] Last: Here's what I have now: Not getting it to: a) read only one matrice ... (by dgadk)
Print to Console from *.csv file
 
I was able to correctly parse an *.xml to *.csv. Now, I am attempting to print the contents of the *...
[1 reply] : You could use a stringstream to extract each value from the line. ... (by Chervil)
by rabzzh
BubbleSort 2D array keeping rows together
 
hi, im having trouble sorting this array by Y from the highest to the lowest but i need to keep all ...
[no replies]
Score Board Bubble sort issue
 
Write your question here. Hi, i have been given a task for my course to produce a leaderboard using...
[no replies]
Use of comma operator
 
Reading up on the tutorial about the comma operator, what does it mean: When the set of expressio...
[no replies]
by dep0
String Display
 
hello, i am a beginner in C++ and i am currently working with strings. My question is why when compi...
[1 reply] : altered is an empty string. Printing an empty string will output not... (by Peter87)
How can I correct my code to successfully reverse the array?
 
Hi all, I'm having a bit of trouble understanding what I'm doing wrong. I need to create a function ...
[no replies]
Need help with C++ Code, getting errors
 
The purpose of this assignment is to overload the constructor, is equal to operator, and the equal t...
[1 reply] : Line 49: Where in the instructions does it says to overload the + ope... (by AbstractionAnon)
Program that reads a list
 
The practice prompt is as follows: Write a program that reads the list /users/calendow/assignments...
[3 replies] Last: Yes I am afraid there is no other way - unless the list is sorted what... (by Thomas1965)
by ottob
Classes that work together
 
I am having to create a program and design a set of classes that work together to simulate a car’s...
[2 replies] Last: Line 56: missing ; line 80: public should not be capitalized. Th... (by AbstractionAnon)
Problem with imputing anything that's not an int
 
So, I'm new to programing (this is my first year, just started college a few months ago) and I've be...
[1 reply] : You may need to use cin.ignore() (by SamuelAdams)
by sami M
passing struct to the function
 
Hey, this program suppose to calculate B.M.I and says if you are fit or not.But it only returns one ...
[2 replies] Last: so what should I change here to make that fix?could you exactly say wh... (by sami M)
Passing Functions issue in HW
 
Hello I'm trying to build a program that takes scores from judges, drops the highest and lowest and...
[10 replies] Last: Yes, score is deleted when you exit getJudgesData(). cire's point a... (by clueless007)
Need help writing this code with arrays!
 
I am a beginning computer science major and coming up on my final lab exam which is unknown exactly ...
[no replies]
by Ganado
Brainfarts with #include/typedef problem
 
I've probably just been coding way too much at once, but I can't seem to figure out the best solutio...
[7 replies] Last: Yeah that looks like it'll work, similar to that compile-time polymorp... (by Ganado)
November 2015 Pages: 1... 1213141516... 53
  Archived months: [oct2015] [dec2015]

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