General C++ Programming (Page 5)

build error
this is my header file #ifndef STATS_H // Prevent duplicate definition #define STATS_H #incl...
[4 replies] Last: Click on my profile page, and click 'Send PM'. (by SakurasouBusters)
Search and Cout
Ok, so please before you get anywhere else do note I am very new to c++. Anyways, just for the hell ...
[17 replies] Last: (by SakurasouBusters)
Programming a simple 2D game
Hi everyone, How long would it take for someone who has never programmed before to program a simp...
[3 replies] Last: What I meant is that one needs at least 3 years so that the person can... (by SakurasouBusters)
Having trouble linking curses library with CodeBlocks.
I'm not sure why this is giving me so much trouble. I originally worked on a project that linked the...
[2 replies] Last: Actually I tried it straight through a compiler instead of codeblocks ... (by Silversonic)
overloading question
Trying to make this overloaded function work -- only successful by adding another return field to 2 ...
[2 replies] Last: @OP: In case it's not already clear, in each of those code snippets, y... (by MikeyBoy)
Hint please!!
I can't figure out what am I doing wrong with this program in which just by typing row and column us...
[10 replies] Last: @Taha001 One error is you're not getting a new row and column after r... (by whitenite1)
Sleep() function into a for loop
Hi everyone, i'm learning to program in C++ and i'm making a program right now, but i found a proble...
[5 replies] Last: The way I understand it is, Sleep() guarantees a minimum amount of tim... (by doug4)
Write class to bin
How do you actually write the whole class object into a binary file? The way I do it is, create s...
[18 replies] Last: @twilightSpectre - I take back what I said about lines 16 and 20 being... (by AbstractionAnon)
C Bit Manipulation Help
Hey everyone. I'm having trouble with this homework assignment and I would really appreciate some he...
[4 replies] Last: (by Duoas)
Don't understand if (number % 2 == 0)
Just started my first programming class, so I'm a complete newbie. I have a question about somethin...
[7 replies] Last: keskiverto, I was trying to input the code correctly, but I couldn't g... (by LullaBelle)
Using Stack to Reverse Name
Hey there guys so my C++ class has me creating a program that lets the user enter a character one le...
[1 reply] : It helps a lot to get out some paper and a pencil and draw what is hap... (by Duoas)
Add '\n' to 10th position in char array
kay there's a big back story but to cut to the chase, for one part of my program I have to allow the...
[3 replies] Last: @duroncoles Well, the best way would be, is to NOT let d equal the ne... (by whitenite1)
Rounding to nearest hundred
How would i round a number with data type of double to the nearest hundred. the code is for int ...
[2 replies] Last: Don't you hate it when they do that ? (by SamuelAdams)
Help with a C++ Problem
Can somebody please give me the complete code for this, it should be relatively easy> *Update* : ...
[1 reply] : HAHAHA, what makes you think we want to do homework for someone that c... (by SamuelAdams)
Write a C++ program to print the size of a file
Write a C++ program to print the size of a file
[6 replies] Last: There are three logically distinct parts in that program: 1. What file... (by keskiverto)
How to use VideoLAN's x265 encoder..
Hi, So basically I want to convert a stream of raw images to video and I've opted for h.264 forma...
[2 replies] Last: The reason is that I have to store the frames as I get them. I have t... (by zoran404)
program for Converting Yen, Euro And Pounds To Dollars
For my book, I'm writing a program that would convert Yen, Euros and Pounds to Dollars. I checked o...
[10 replies] Last: use --- at the end of your code and paste the output http://www.cplus... (by shadder)
by nanax
Project in C++ using Queue
can anyone help us to make a program about computer laboratory in 5 classes with 60 computer, in eve...
[4 replies] Last: You could start by making a class class computer_lab { //ur declarat... (by shadder)
rounding of double
Hi, I have a double with long decimal values eg : double x =32.1347896 I wanted to round it to 3...
[2 replies] Last: #include <iostream> #include <string> #include <sstream> #include <cm... (by Krulcifer Einfolk)
Impossible to erase or insert
HiĀ ; although many trials, impossible to insert or erase somebody. Look at my 3 commented lines (76...
[6 replies] Last: Before you answered I found the solution. Now all things are right. Th... (by sylvain)
Pages: 1... 34567... 29
  Archived months: [jul2016]

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