General C++ Programming - October 2016 (Page 5)

by DaviFN
DLL function crashes my program
 
Hello everyone. I've a simple problem, but I couldn't solve it yet because I'm a newbie in programmi...
[6 replies] Last: GetLastError returned 5 when I placed it exactly after the WriteProces... (by DaviFN)
if/else program skips to last else statement
 
//Inertia of 3 Beams #include <iomanip> #include <cmath> #include <iostream> using namespace...
[5 replies] Last: I wouldn't bank on that formula for an I-beam, though. Box section: ma... (by lastchance)
Virtual Keycodes?
 
Hey, So I've found this piece of code that works for what I'd like it to do. However I'd like to ch...
[2 replies] Last: Legend, Cheers mate. (by ChangeKey)
How do i count punctuations??
 
I am new to C++ so kinda need help. How do i count all the punctuations from a file?? These are t...
[12 replies] Last: The line 21 could/should read return 1; The execution is still in th... (by keskiverto)
Xerces C++ parsing
 
Hi, I have to parse XML documents by using the XERCES C++ library for one of my C++ application. ...
[5 replies] Last: Hi, i do not know much about "XPath" ... this is a code snippet from... (by fluppe)
Am i doing correctly?
 
Hello everyone. I'm trying to implement Dijkstra Algorithm for finding the shortest path inside my c...
[6 replies] Last: Code below to use with input files: nodes.dat A B C D E F G and wei... (by lastchance)
by kim366
How do I get the C++ 17 Headers
 
Hi, I really like the new additions of C++17, but in MinGW -std=c++1z doesn't give me an error, b...
[8 replies] Last: Ah! std::experimental::optional<unsigned int> value; (by kim366)
by jy99
Passing data onto another array
 
I just learned C++ for 3 weeks and I have the basics down, and I can do some simple coding. But I'm ...
[6 replies] Last: Thanks, done a bit more research on my own and got it done, below is m... (by jy99)
To Use Classes in C++
 
Hi I have written a simple class in C++ but I am not able to use this in main function. #include ...
[5 replies] Last: The reason is that you did not implement ~Display() (the body is missi... (by coder777)
Some questions about Text Comparison
 
Hi guys, I'm new to C++ and I got some problems on the text comparison. I tried google and based on...
[4 replies] Last: You can use std::getline to read the entire line, and std::stringstrea... (by mbozzi)
Discriminant for Quadratic Formula
 
I have code here for solving quadratic equations using the quadratic formula that I wrote for an exe...
[3 replies] Last: I just took a glance, but there's a bug on line 31 -- the same express... (by mbozzi)
ASCII roguelikegame
 
Heya, I am a newbie working on an ascii roguelike, but I have not figured out how one can make BOT p...
[4 replies] Last: could use the non-standard kbhit function found in conio.h. http://ww... (by Izink)
by dietzj
Setw() not working
 
So this program is not complete and probably isn't fully set up correctly but my problem for right n...
[1 reply] : What exactly do you mean setw isn't working? What are you expecting it... (by rabster)
Got an error while running Android tutorial-game using SDL2
 
Hello users, i am using SDL2. I am new to android developing. After checking all steps to install ...
[no replies]
Class template with vector
 
I have a messaging system. I receive a message as raw data. Memory is dynamically allocated using ...
[no replies]
Arrays program
 
You will be using arrays to track the food intake of 3 adorable monkeys for one week. After filling...
[1 reply] : You have to divide by NUM_DAYS to get the relevant average. You only d... (by lastchance)
ASCII roguelike game A.I
 
Heya, I am a newbie working on an ascii roguelike, but I have not figured out how one can make BOT p...
[1 reply] : No - threads aren't necessary. Real concurrency was implemented as ... (by mbozzi)
X and O
 
I made an X and 0 game,but if one of the values of the array(X or O) is bigger than 3,the program sa...
[3 replies] Last: I arranged it a little bit,at now it works,thanks (by MoNNsterFTW)
by Xnot
printf changes array
 
Hei together I want to read a data with binarys in. then i want to print them out in Octets(bytes bu...
[3 replies] Last: %s tells printf that you are supplying it with a C-style nul-termi... (by cire)
by plexus
Question about smart pointers
 
I recently read LBs article on smart pointers. ( http://www.lb-stuff.com/pointers ) Again, I'm left ...
[5 replies] Last: Thanks guys. That's the answer I was looking for. I like the assembly... (by plexus)
October 2016 Pages: 1... 34567... 23
  Archived months: [sep2016] [nov2016]

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