General C++ Programming (Page 8)

how to create one program consisting four program inside
how to make a program that has ( for loop, while, do while, array ) on it. example when you press...
[9 replies] Last: thank you so much everyone! :)) (by mariaaab)
Problems Writing this simple c++ prog :/ HELP!
So my program is only running until the first else-if where it displays "minutes" , if I put a numbe...
[2 replies] Last: ne555 thank you so so so much!! I got it now (: (by asm103940)
by king16
343 324 sf
[3 replies] Last: Thank you so much Yawzheek. It worked thanks again for the help. (by king16)
how to format outfiles with multiple input files
hi, I have a code here that is reading two input files and creating one output file. What i am havin...
[4 replies] Last: He's correct, I had the same name twice, changed it to while((!in_str... (by SamuelAdams)
Calculate the inverse of a 4x4 matrix - Why is this code not working?
Hello, I am trying to calculate the inverse of a 4x4, I have been thinking about it endlessly yet I ...
[4 replies] Last: Although the inverse of a matrix can be written down in terms of deter... (by lastchance)
Program freezing issue (beginnner)
So I have a project for my CSCI class, it involves using linked lists. We have a class Node, Class L...
[1 reply] : Run it under a debugger. When it freezes, use the debugger to interrup... (by Moschops)
by RobCh
Minnowboard gpio
The minnowboard is the only board I can find that: Runs Linux Has GPIO header Supports opengl (ra...
[no replies]
by cmisip
Variadic functions with multiple parameter packs, problem with brace-enclosed initializer list
I have this mechanics in my project. I need to call loop with any number of shared_ptr's of Behavior...
[6 replies] Last: So basically, you can combine multiple parameter packs if one of the p... (by cmisip)
by cmisip
How to properly call destructors on exit
How do I ensure that destructors are called on program exit wether normal termination or with ctrl C...
[6 replies] Last: Found an issue with the above code. If for example a SIGSEGV signal i... (by cmisip)
by kmm96
I need to convert this code from pascal to c++
program LABYRINTH; {BACKTRACK1, i.e. depth-first, no infinite cycle} const M = 7; N = 7; {Dimensio...
[1 reply] : Double post: (by chicofeo)
by RobCh
openGL / openGl es?
Do GPUs that support openGL es by default support plain openGL? I am asking for the Mali 400 mp2 (on...
[2 replies] Last: Is there any way to get drivers to incorporate standard opengl? Will I... (by RobCh)
by x2JJ1x
Can someone please explain what this is doing?
typedef void(__thiscall *setp)(int self, int location); setp SetParent = (setp)getaddy2(0x41C160); ...
[1 reply] : Don't do this. This is a hack, but won't always work. (by SakurasouBusters)
Cin and Cout Objects
/* Here is a program that uses cout and cin objects. *Its intentions is to display personal infoma...
[5 replies] Last: use getline(cin, //a variable) #include <iostream> using namespace ... (by WheatFieldOnFire)
When exactly are static arrays needed?
I know the difference between static and dynamic arrays and I know advantages and disadvantages of u...
[no replies]
by a015
Several questions from a beginner
I have several questions (I use dev c++) and I am completely new to c++ (1) what is the equivalen...
[1 reply] : https://www.exampl... (by SamuelAdams)
Getting a weird error, help?
I am getting a weird error when compiling so I'm pretty sure I did something majorly wrong but canno...
[1 reply] : Nevermind! Got it! Was doing: do while() instead of: do { stuff } wh... (by Ncookie)
My project closes - any idea?
Hello, I have a uni project to do. I've completed it but for some reason, when I run it in Visual S...
[4 replies] Last: You could just write return 0; to exit the program. (by closed account LA48b7Xj)
Code will not print out information?
Hello everyone, I am trying to print out the names thatI listed below in my code... Not sure what I ...
[2 replies] Last: I made a few corrections and changed the pass by reference to pass by ... (by closed account LA48b7Xj)
by swaabe
Write an algorithm that outputs the index of the first occurrence of the largest element in the sequence?
Write an algorithm that outputs the index of the first occurrence of the largest element in the sequ...
[1 reply] : Send me a private message. (by SakurasouBusters)
my next assindment is creating a game of Yahtzee, i'm not sure were to start.
Create Yahtzee in C++. Before you start writing any code, create a game loop diagram on paper, and w...
[7 replies] Last: @SamuelAdams Johnny is just 16 years old and has not started the game ... (by SakurasouBusters)
Pages: 1... 678910... 36
  Archived months: [aug2016]

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