Beginners - November 2018 (Page 5)

Issue with column alignment
 
I am working on a program for my class, and am having trouble getting the columns to print correctly...
[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 ...
[2 replies] Last: Thanks so much, that makes a whole lot of sense and so much easier (by Programmingaddict)
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 ...
[3 replies] Last: Hello jlouie6, Working with what you started with: std::string lin... (by Handy Andy)
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 ? ...
[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...
[2 replies] Last: Yep, that was my mistake. Thank you very much. (by potatobastard)
about std::async launch::deferred
 
I have question about std::async launch::deferred does it launches the function with seperate th...
[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 v...
[1 reply] : Try this: #include <iostream> #include <string> #include <regex> us... (by Thomas1965)
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 i...
[2 replies] Last: Here another possibility, which outsources the code to a function: in... (by nuderobmonkey)
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 i...
[6 replies] Last: the bug came from my pain of trying to use chars instead of strings (by Ep1cM1n10n)
2 DIM Array issues
 
I am trying to write a code that inputs the temp. for two different cities. then outputs the city by...
[2 replies] Last: this is a homework assignment I've been working on between jobs and cl... (by littlegiver)
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 eas...
[5 replies] Last: its very efficient, if the array is an array of pointers, and you writ... (by jonnin)
Implementing Doppler Effect in C++
 
Need to make a project and don't know where to start
[5 replies] Last: you need to get an audio library, figure out how the stereo part works... (by jonnin)
Tasks in C ++ sentences
 
1. Terminal cafe (waiter's workplace). Implement the following functionality: identification of the ...
[3 replies] Last: Might be useful: https://stackoverflow.com/questions/28147612/how-to-c... (by Ganado)
Accessing private members
 
Hello! I would just like to ask what is the best way to access the private members of the base class...
[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 retu...
[2 replies] Last: Another, smaller, benefit is that it lets you change the value at the ... (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:\Mar...
[2 replies] Last: Where are your definitions of the second constructor and stack::push()... (by lastchance)
How can I format this file?
 
I am currently working on an extra credit assignment for my CS014 class. I have the assignment finis...
[5 replies] Last: Ok, it all makes sense now. I removed the main function long ago but I... (by netodude)
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...
[2 replies] Last: Thanks mate! (by lost110)
Image
 
Every pixel gets swapped twice. You swap the first pixel and the last pixel.... and at the end, you ...
[6 replies] Last: Good detective work! Given the number of deleted posts in the last wee... (by lastchance)
November 2018 Pages: 1... 34567... 24
  Archived months: [oct2018] [dec2018]

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