General C++ Programming (Page 13)

Text File Output Issue
I have a code and when I want to run it with the .txt file it wont give me the right output. How do ...
[1 reply] : Your code works for me. (by Thomas1965)
Issues With Translating To C++
Hi there, I'm currently writing code for a simple game for a project and have stumbled across some ...
[10 replies] Last: Try this: #define ESC 27 #define SPACE 32 int main() { int g... (by Thomas1965)
by HarGar
Kohl's Giftcard Program
Write your question here. The store Kohls is offering giftcards accourding to the following purch...
[2 replies] Last: Totally thought this was spam. (by Ganado)
by tpb
Competitive Programming
What about this input: 1 bbb ooo BTW, you should re-copy/paste your code in code tags: your c...
[2 replies] Last: it would give yes as output (by hst005)
system command for wc
Write a C++ program called wcount.cpp that uses the system command wc to count the number of lines,...
[19 replies] Last: Ok cool. That makes sense, I'll carry on with it and see what I come u... (by parallx)
I want to find input-output paths for directed acyclic graph.I want to find if given graph (calling ...
[no replies]
displaying certain data from the text file
#include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace st...
[5 replies] Last: yeah I just started learning about the language for like a month since... (by rarian10)
by Slyde
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 Slyde)
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)
Pages: 1... 11121314
  Archived months: [jul2018]

Cannot post in this page. To post a new message, go to the first page.