General C++ Programming - August 2018 (Page 7)

by dune
IF statements and Radio Buttons
 
I have 2 radio buttons. When I select one of them, the function is called and both execute. I select...
[7 replies] Last: Yeah. I've already removed everything. I'll come back to it though, at... (by dune)
Char
 
char city = "Dallas"; How many characters are stored in city?
[3 replies] Last: @Repeater, this is true, this is true. (by tpb)
Print on new line
 
How do I get the results to print onto a new line so the average arent one after another? code ...
[1 reply] : cout << '\n'; where you want the new line. (by Repeater)
Help me find the error
 
Hello guys, please help me find the error in the following code: template<class T> int to_int(cons...
[4 replies] Last: // Example program #include <iostream> #include <sstream> #include <s... (by Ganado)
Conditional Operations help
 
#include <iostream> #include <string> using namespace std; int main(){ cout << "You wa...
[2 replies] Last: You cannot do it without assigning the magic word to a string as the f... (by fewdiefie)
by zigooo
dynamic allocation of a multidimensional matrix
 
Hi, it's my first post. Sorry if i done anything wrong. My question is really straightfoward, i nee...
[15 replies] Last: @Ganado ops, my mistake. Its the dimension, if you have (a,b,c,d), the... (by zigooo)
undefined reference to `browse'
 
Hello, I'm having a problem linking a c library to c++ project. In the build I'm facing the followi...
[3 replies] Last: Undefined reference means the linker can't find it. Which means one of... (by Repeater)
Struggling to make this code work
 
I have these 2 classes that are supposed to work together, but it won't even compile. missive.cpp...
[9 replies] Last: I've added some stuff to my previous post. I see a couple of other err... (by tpb)
Storing data for Scientific Programs
 
Hi All, Most scientific programs involve solving multiple equations to evolve fields (3D xyz matrice...
[1 reply] : it depends on what you need to do really. I did a lot of matrix math,... (by jonnin)
by ikhram
AES encryption and decryption not going over whole array
 
Hey guys the code takes in a string,converts it into a hex decimal string and puts it into an array ...
[6 replies] Last: I do salute you for seeing that you could cut it to 2 lines. I strug... (by jonnin)
by tusin
Solve this problem
 
write a c++ program to calculate fare from aiub to uttara , mohakhali , new bazar , dhanmondi and ba...
[4 replies] Last: You still need more info, either made up yourself or from the assignme... (by jonnin)
Help with Programming
 
Hi, So below are 3 files I have for a multifile project and i keep getting an error of: Undefine...
[8 replies] Last: My code for client has: #include <iostream> #include "fraction.h" ... (by Jaybob66)
Center numbers in a cell
 
I decided I wanted to write a simple spreadsheet program. Just adding, subtracting, etc., in specifi...
[4 replies] Last: 123.50, and in would be converted to something like, 123.499009. A... (by Repeater)
subtract the 1st value of coulume form next values in the coulume
 
I want to read a text file. # Before scan of next column: # X Y t I ...
[7 replies] Last: @lastchance, thanks a lot for your time and effort. It helps me very m... (by khuramtariq)
Limited number of input.
 
Guys, I need your help. How can i make an input on a limited loop only? Like i want to ask the user...
[1 reply] : #include <iostream> #include <vector> int main() { const std::si... (by JLBorges)
xerces and memory usage
 
i am using xerces 2.8.0 in linux platform.For each xml file(very huge file) parsing i can see huge m...
[no replies]
remove_if bugged?
 
int main() { string str = "Archer Level 1"; remove_if(str.begin(), str.end(), isspace); cout...
[4 replies] Last: Thanks guys i understood! (by beerato)
August 2018 Pages: 1... 567
  Archived months: [jul2018] [sep2018]

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