General C++ Programming (Page 7)

by erik85
Why Won't This WinExec() Command Not Work?
 
Hello once again, I am so confused and frustrated with this - I hope someone can help. The fol...
[2 replies] Last: I apologize for the late response. I wanted to say thank you for your ... (by erik85)
by chep
converting a text to ascii then hexadecimal
 
hey, can someone assist me in writing a code that can produce an ascii and hexadecimal from a text i...
[1 reply] : are you asking how to read a file? #include<fstream> ifstream in(fi... (by jonnin)
How can i get the function info_all() to work?
 
#include<iostream> #include<string> using namespace std; class Person{ private: string name;...
[8 replies] Last: Thx a lot I almost lost hope that someone would answer my post :D (by spax1111111)
help
 
Express lists the following 3 scenarios: - Massive - Pointer - Link imaging array. Print a list ...
[1 reply] : I noticed in your previous thread, that you deleted your question afte... (by MikeyBoy)
I need assistance with my connect 4 game?
 
Whenever i input a letter as a column number my program goes crazy and starts printing out text agai...
[7 replies] Last: Why don't you make the Column a char instead? @SamuelAdams solution... (by TheIdeasMan)
by Kalcor
Weird logic error
 
Hello, today while I was solving a simple problem I encountered a logical error that idk why it occu...
[2 replies] Last: Thanks for the reply doug, i was kind of lazy to trace it maybe lol ca... (by Kalcor)
How do I overload virtual function with the same name but different returning data
 
As title says, how do I overload virtual function with the same name but different returning data? H...
[6 replies] Last: Thanks :)! (by Putarda)
String
 
Hi! I have a basic question. How do you remove a character from string. Let's say the user input "Th...
[2 replies] Last: Another option: #include <iostream> #include <string> using namespa... (by Thomas1965)
by Kalcor
Struct arrays
 
Idk if the title is correct but what I mean is that: struct coords{ int x; int y; }a ; My m...
[1 reply] : >> is an operator. You can think of it as shorthand for a function. ... (by Moschops)
UDP server
 
I'm wondering if anyone knows how to create a c++ program to create a UDP server? I've used C# which...
[2 replies] Last: Boost.Asio is useful http://www.boost.org/doc/libs/1_64_0/doc/html/boo... (by mbozzi)
help
 
123
[2 replies] Last: TheIdeasMan did give good hints. Lets just add: the whole can be more... (by keskiverto)
by Kalcor
For loops and sigma notation
 
I don't understand the sigma notation pretty well for some reason, http://prntscr.com/f7v5lc T...
[2 replies] Last: It's also quite interesting in binary: (1/2)^0 is 1 (1/2)^1 is 0.1... (by lastchance)
by Kalcor
Stack and heap
 
Can some experienced programmer here explain in details what's a stack and what's a heap like in a s...
[10 replies] Last: @ JLBorges Thanks once again for your excellent answer :+) (by TheIdeasMan)
no operator matches there operands. Vector + Vector()
 
In Vector class I wrote operator + and it's working perfectly. Vector v1; Vector v2; v1+v2; But...
[2 replies] Last: The compiler sees Vector v2(); as a function declaration of a func... (by Peter87)
Range based for on map runs endless
 
Hi, I wrote the following code for testing std::map<std::string, std::string> test; test...
[3 replies] Last: Seems like it was the main application. After I did recomplile that, i... (by tsschulz)
by ByMaro
error-abort() has been called! help!
 
#include<iostream> #include<string> using namespace std; class Player{ string user; public: ...
[3 replies] Last: The problem is on line if (secondword.at(0) == firstword.at(4) && sec... (by Thomas1965)
Code Not Working (Sorting Names) in C++
 
Please tell me why my CODE is not working and help me to use getline if you have no idea of my probl...
[16 replies] Last: Did you run the code and take a look at the results? Always be sure yo... (by Little Captain)
Char array[?]
 
Hi, This is class work so all I need is a little direction, s'il vous plait? I have a teacher t...
[7 replies] Last: With any luck, you will NEVER have to use memmove or memcpy. These f... (by jonnin)
Simple "welcome" function being ignored.
 
Sorry about the crappy formatting - it looks fine before I post. I just want a simple "welcome" mes...
[3 replies] Last: Thank you both for the help. Programming is definitely not going to be... (by callmechewy)
by Kalcor
Tired of understanding this
 
As the title says, my head got blown up by this problem and just on a brain fart-mode right now, I t...
[1 reply] : Assume WMLOG that L < R (actually, that seems to be given in the quest... (by lastchance)
Pages: 1... 56789... 29
  Archived months: [mar2017]

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