
please wait
by KLilith89
Issue with column alignment
|
I am working on a program for my class, and am having trouble getting the columns to print correctly. Here is my relevant code: #include <iostream> #inclu... |
Nov 24, 2018 at 10:04pm
[2 replies] Last: This worked, thanks a ton!!! (by KLilith89)
|
If statement question and answers |
What did I do wrong with this code, it only prints out the first cout no matter what you type in #include <iostream> #include <string> using namespace ... |
Nov 24, 2018 at 5:48pm
[2 replies] Last: Thanks so much, that makes a whole lot of sense and so much easier (by Programmingaddict)
|
by jlouie6
Acquiring Last Column of CSV File
|
How do I only get the last column of my CSV file and add it to a 1D vector string, for instance the yes/no in to the 1D vector and ignoring the other double val... |
Nov 24, 2018 at 2:02pm
[3 replies] Last: Hello jlouie6, Working with what you started with: std::string lin... (by Handy Andy)
|
by masterinex
How can I call a member data for a class from its cpp file ?
|
How can I call a member data for a class called Connection from, its cpp file Connection.cpp ? I would like to set the member data of hSocket and ServerAdd... |
Nov 24, 2018 at 1:26pm
[1 reply] : if Init_Connection belongs to a class then you should scope it with th... (by closed account SECMoG1T)
|
Why is my output file blank? |
Learning file handling from this code by experimenting and modifying it. It is running properly, but output file is currently empty after adding a few things. ... |
Nov 24, 2018 at 11:58am
[2 replies] Last: Yep, that was my mistake. Thank you very much. (by potatobastard)
|
by masterinex
about std::async launch::deferred
|
I have question about std::async launch::deferred does it launches the function with seperate thread and joins it as with launch::async ? |
Nov 24, 2018 at 10:43am
[1 reply] : I guess that it's up to the implementation to decide but I see no re... (by Peter87)
|
by Seiko
Can anyone convert Java to C++
|
import java.util.Scanner; import java.util.regex.Pattern; public class Main { public static void main(String args) { Scanner in = new Scanner(Syste... |
Nov 24, 2018 at 10:19am
[1 reply] : Try this: #include <iostream> #include <string> #include <regex> us... (by Thomas1965)
|
by ZootZoot25
Please help with my homework, having trouble with validating information
|
So I written this code for an assignment with some restrictions which also offered a template, but im having trouble with the validation. Specifically the void ... |
Nov 24, 2018 at 6:47am
[2 replies] Last: Here another possibility, which outsources the code to a function: in... (by nuderobmonkey)
|
by Ep1cM1n10n
Problem with printing strings
|
This doesn't work for some reason. I don't know why, i hope i can get help. It prints nothing this is just a snippet string input1 string output1 cin >... |
Nov 24, 2018 at 1:27am
[6 replies] Last: the bug came from my pain of trying to use chars instead of strings (by Ep1cM1n10n)
|
by littlegiver
2 DIM Array issues
|
I am trying to write a code that inputs the temp. for two different cities. then outputs the city by name such as Boston and Denver as well as changes to output... |
Nov 23, 2018 at 11:47pm
[2 replies] Last: this is a homework assignment I've been working on between jobs and cl... (by littlegiver)
|
by MrPlus7
sorting of linked list
|
I am trying to sort a linked list by being sneaky and only swap the data. I though this might be easier to implement, but I cannot manage to get it right. An... |
Nov 23, 2018 at 11:04pm
[5 replies] Last: its very efficient, if the array is an array of pointers, and you writ... (by jonnin)
|
by qwertmen
Implementing Doppler Effect in C++
|
Need to make a project and don't know where to start |
Nov 23, 2018 at 10:56pm
[5 replies] Last: you need to get an audio library, figure out how the stereo part works... (by jonnin)
|
by mikihisa
Tasks in C ++ sentences
|
1. Terminal cafe (waiter's workplace). Implement the following functionality: identification of the waiter, choice of table, choice of dishes and their quantity... |
Nov 23, 2018 at 5:35pm
[3 replies] Last: Might be useful: https://stackoverflow.com/questions/28147612/how-to-c... (by Ganado)
|
by rookie000
Accessing private members
|
Hello! I would just like to ask what is the best way to access the private members of the base class? I understand that a derived class only inherits (and ha... |
Nov 23, 2018 at 3:43pm
[8 replies] Last: Hello, thank you very much for your feedback. I agree that it will be ... (by rookie000)
|
Returning values by reference |
Hello. I am currently learning about stacks in C++ and I was wondering why I was recommended to return values by reference, instead of returning a value by a st... |
Nov 23, 2018 at 2:42pm
[2 replies] Last: Another, smaller, benefit is that it lets you change the value at the ... (by dhayden)
|
Please Help I don't what's wrong with my preorder for my vector |
REMOVED ISSUE SOLVED |
Nov 23, 2018 at 2:40pm
[3 replies] Last: preorder = preorder(tree->left, preorder); should be preorder = val... (by dhayden)
|
by Bopaki
Myi stack programs compiles OK! but when I enter the data it bombs out after I press the enter button
|
This is the message that I get from the build log: mingw32-g++.exe -Wall -fexceptions -g -c C:\Martin\Savitch\Unisa\Unisa\STACKS\StackFrame\Stack.cpp -o obj\D... |
Nov 23, 2018 at 6:55am
[2 replies] Last: Where are your definitions of the second constructor and stack::push()... (by lastchance)
|
by netodude
How can I format this file?
|
I am currently working on an extra credit assignment for my CS014 class. I have the assignment finished, however, I have run into a bump while submitting. The i... |
Nov 23, 2018 at 4:48am
[5 replies] Last: Ok, it all makes sense now. I removed the main function long ago but I... (by netodude)
|
by lost110
elements from one array to another
|
Hello guys! I am a bit confused! Can we transfer elements so that array 'a' has total elements 4,9,7,6,5,3,12,14,3,2 ..so total 10 elements! but then we need a ... |
Nov 22, 2018 at 9:58pm
[2 replies] Last: Thanks mate! (by lost110)
|
by Repeater
Image
|
Every pixel gets swapped twice. You swap the first pixel and the last pixel.... and at the end, you swap the last pixel and the first pixel. Edit: As LC says, ... |
Nov 22, 2018 at 3:04pm
[6 replies] Last: Good detective work! Given the number of deleted posts in the last wee... (by lastchance)
|