General C++ Programming (Page 59)

C++ tshirt program
I've go this code that I need to use a Named Constant for the price of a t-shirt. I've already do...
[2 replies] Last: thanks that works just fine poteto :-) (by nichan79)
How to compile with Eclipse
I have 2 c++ source files to put into my eclipse project and also a header file. How do I compile al...
[18 replies] Last: It would be better to start a new thread for a new topic. (by cire)
Ideas for a design to handle a crazy set of rules
A Wizard follows a certain school of magic. The school he follows gives attributes to him in no pa...
[1 reply] : > Any better idea than the one above? Maintainability is important for... (by JLBorges)
Rounding and converting to integer.. gahh
Ok so I'm in a programming 1 class working with c++. I have the following assignment: Write ...
[3 replies] Last: Figured it out. So simple lol... Thanks for the input int perc = rou... (by justinc978)
Randomizing an array without repetition..
Hello? Can I ask a little help with this?.. I just want to make a WORD GUESSING GAME which when you ...
[2 replies] Last: okay.. i'll try it :D thanks ^_^ I'll reply back for the outcome, Than... (by asunyan12344)
by Mike92
Display Calculator
Hi guys I am having trouble as I need to display a simple calculator using cout however I have no id...
[1 reply] : Are you just trying to print certain characters and newlines to the sc... (by Ganado)
Dynamically Allocated Array Parameters
I have changed my const global int NUMLABS to a non constant variable so that the user can decide ho...
[1 reply] : IntPtr labs ; is illegal. NUMLABS should be a compile time constant... (by MiiNiPaa)
Exception Throwing
Consider the following code : #include <iostream> #include <ctime> #include <cstdlib> #include <s...
[3 replies] Last: How can I pass objects without being copied ? Pss by reference or pas... (by MiiNiPaa)
text-based rpg game
Hey guys I have this text-based game that I want to make incredibly in depth. Close to the Xbox 360...
[3 replies] Last: Ok thank you. Ya its a work in progress. Not as in depth as Skyrim b... (by Masterassassin1398)
Deleting Dynamically Allocated Arrays
I am editing this code provided by my teacher. I have gotten it to work except that there is a runti...
[2 replies] Last: a) labs werent created with new , so attempt to delete them is an erro... (by MiiNiPaa)
by tec23
static variable declaration
Hi all. Just a simple question. If i declare 2 variables like this static int first, second; ...
[5 replies] Last: Thanks for the correction, but to be clear, I said that to enthusiasti... (by AceDawg45)
How does a computer store a floating point number?
Hello, for my college homework I have been asked to research how a floating point number is stored i...
[4 replies] Last: Thanks for the input, all of you really helped. From what you have all... (by SoftMOUNT)
Hex Format a little confused
Is my understanding correct? Ascii 'a' = 61 (Hex) Ascii '0' = 30 (Hex) So this is how we co...
[8 replies] Last: In C++ char is integral type. That means it only differs from int in s... (by MiiNiPaa)
in place merge sort for linked list
Hi, this is in-place merge sort, for merge function. Can you tell me, there is something wrong. tha...
[3 replies] Last: Sure. Have you tried it to see if it works? (by Duoas)
by Gyiove
where i can hold the pointer?
Hello everyone! So far i know that the pointer is address value to the real variable. Pointer si...
[2 replies] Last: My wish is to hold different types of variable or groups of different... (by MiiNiPaa)
how to convert a compact form of a matrix into matrix form
3 3 2 1 3 2 3 1 0 2 1 2 6 first line shows row and column number first index of the second...
[1 reply] : You explain how to do it in your description. What really is the prob... (by kbw)
Reading from 2 file and Merging
Hi, I am struggling to get my program working. The directions are to write a program that reads so...
[5 replies] Last: Here's the problem with the 'while' condition. It can be helpful to e... (by Esslercuffi)
Help with linking my c++ files
Hi i need help with putting my c++ files together so i can organize things instead of trying to sear...
[10 replies] Last: That's weird haha. I have more files that I run and never return anyt... (by Masterassassin1398)
C++ Linked List Sorting, Splitting, and Printing issue
Hi guys for my lab assignment this week I was assigned to learn about Linked Lists. The lab prompt i...
[9 replies] Last: [quote=nichodiaz]Try this, moving the [i++ to ++i] That would have no... (by cire)
Error compiling C++
Hello there!! Sorry by my english, i'm from Brazil. Please, help-me. I have this code, but whe...
[1 reply] : Compiles fine for me. (by Ispil)
Pages: 1... 575859606162
  Archived months: [sep2014]

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