Beginners - December 2012 (Page 27)

What's the point?
 
Okay so I've got an exercise giving me the next variants: a. 18&16|5&8 b. 18|16&5|8 c. 18&16&5&8...
[4 replies] Last: Okay guys, thanks for the fast replies :) (by steryman)
Return to int main from an int.
 
Hi, just wondering how would I return to the "int main" from another int? For example int...
[5 replies] Last: Sounds like you missed the point of functions. When a function finishe... (by Moschops)
how to get a certain part of a char array
 
let's say char buffer = "JOIN_QUEUE " I want to get rid of the extra spaces at the end to strcmp...
[no replies]
stream problem
 
hi, I'm doing a project in which I'm accepting a tag and content string and converting into an XML ...
[3 replies] Last: Also, I tried something else something like: CXMLString::CXMLString(s... (by noisycoder)
Variable Choice
 
I'm writing a Statistical Calculator for a videogame. Some of the statistics use numbers that are l...
[6 replies] Last: You could use a char array to store nos. See the foll code as an examp... (by PalashBansal96)
Arrays
 
I am writing a program for school that is supposed to take an array and print its contents. I have...
[7 replies] Last: First off a little tip for your for loops. You are currently writing t... (by closed account 3qX21hU5)
Gives Letter Grade
 
Ok so I have this code I made but now I have to add so it gives a final grade as an output depending...
[2 replies] Last: #include "genlib.h" #include "simpio.h" #include <stdio.h> if ... (by closed account 18hRX9L8)
by maroun
error LNK2001
 
Hello I have these 2 classes, all classes are in the same header... class player { class...
[3 replies] Last: Thank you !!! :D (by maroun)
i need help with saving file into a binary file
 
this is my code i don't know why it isn't doing it #include "stdafx.h" #include <iostream> #incl...
[3 replies] Last: i fixed the code but still this is my output Enter file name: e:\wa t... (by juancarpinteiro)
by KAB11
Help with getting my calendar to start on the right days.
 
I am attempting to make a calendar for my c++ class, but I can't seem to figure out what to do. Here...
[1 reply] : I have played with calendars and it's tough. There are so many ways t... (by SamuelAdams)
by harsha
COMPILER ERROR: "Sort" was not declared in this scope
 
gimme the solution pls.... #include<iostream> #include<vector> #include<stdlib.h> using namespac...
[2 replies] Last: uh! that was a stupid mistake!!! thanks mate! (by harsha)
by eselar
Help With Bubble Sort
 
Hey everyone, I'm sorting an array randomly populated with the numbers 1-52 from least to greatest u...
[3 replies] Last: Sorry i forget to mention some things. yes it is an int array I chan... (by eselar)
delete last node of a circular linked list
 
can i delete last node(that points to the first node) of the circular linked list in constant time?
[3 replies] Last: Lets call the target node to delete (the last one): discard // Set p... (by HoneyBoy)
Print the highest and the lowest number
 
Please help me. I'm going to input number each 3 variables, the highest and the lowest should be pri...
[2 replies] Last: Something like that would be better I think: int highest = number1;... (by Machtl)
by joy666
explain function
 
Hi, i do not understand this code. Pls can someone explain this one, especially the function naci...
[1 reply] : I will explain to you what nacitajString does, maybe you can figure ou... (by Machtl)
by mathlo
Mistery word : can't display a string
 
Hi, first of all, excuse my english, i am french. So, i am trying to make a "game". First user wr...
[6 replies] Last: Your mistake is that you are trying to assign the result string which ... (by vlad from moscow)
Really really basic vectors.
 
I've writtena code for the gcd of two integers a and d and these functions apply to an arithmetic p...
[3 replies] Last: After it's created, you can use them just like arrays. for random ac... (by ResidentBiscuit)
Output data to file
 
I'm trying to output data to a file. I half killed myself trying to get the program to work , everyt...
[1 reply] : Have not tried your code but this looks wrong outFile << left << set... (by SamuelAdams)
Can you initialize and array in a constuctor?
 
What am I doing wrong? Can't I initialize an array in the constructor? #include <iostream> ...
[3 replies] Last: Only error I really see is that you try to initialize Items with 5 va... (by Raezzor)
Determines the highest and lowest
 
Write an algorithm that determines the highest and lowest among 3 numbers. Assume that the 3 numbers...
[7 replies] Last: @mathalo: maybe you want to try this: #include <algorithm> #include ... (by Darkmaster)
December 2012 Pages: 1... 2526272829... 65
  Archived months: [nov2012] [jan2013]

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