
please wait
by steryman
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 d. 18|16|5|8 and it asks me to choose the one which retu... |
Dec 13, 2012 at 10:06pm
[4 replies] Last: Okay guys, thanks for the fast replies :) (by steryman)
|
by Hazukiy
Return to int main from an int.
|
Hi, just wondering how would I return to the "int main" from another int? For example int CallInfo() { string sClientName; int sClientChoice... |
Dec 13, 2012 at 8:56pm
[5 replies] Last: Sounds like you missed the point of functions. When a function finishe... (by Moschops)
|
by LuckyIsDog
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() it. How do I do that? char* cmpmsg = buffer; ... |
Dec 13, 2012 at 8:27pm
[no replies]
|
by noisycoder
stream problem
|
hi, I'm doing a project in which I'm accepting a tag and content string and converting into an XML which is my extended class of the string class. However I'm ... |
Dec 13, 2012 at 7:56pm
[3 replies] Last: Also, I tried something else something like: CXMLString::CXMLString(s... (by noisycoder)
|
by IWishIKnew
Variable Choice
|
I'm writing a Statistical Calculator for a videogame. Some of the statistics use numbers that are longer than 16 digits, and from what I can tell, a long doub... |
Dec 13, 2012 at 7:29pm
[6 replies] Last: You could use a char array to store nos. See the foll code as an examp... (by PalashBansal96)
|
by Natalyias77
Arrays
|
I am writing a program for school that is supposed to take an array and print its contents. I have reached out to the teacher but I don't know when I will hea... |
Dec 13, 2012 at 6:58pm
[7 replies] Last: First off a little tip for your for loops. You are currently writing t... (by closed account 3qX21hU5)
|
by chizzain
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 on the "Test Average" This is the rubric: A 93-100 A-... |
Dec 13, 2012 at 6:40pm
[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 moveit; public: player():pcolor(-2){}; ~player(); ... |
Dec 13, 2012 at 6:35pm
[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> #include <cstring> #include <string> #include <iomanip> #inclu... |
Dec 13, 2012 at 6:21pm
[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 is my code: #include <cstdlib> #include <iostream> using... |
Dec 13, 2012 at 5:42pm
[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 namespace std; bool myfunction (int i,int j) { return (i<j); } str... |
Dec 13, 2012 at 5:24pm
[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 using multiple sorting algorithms, right now I still cant ge... |
Dec 13, 2012 at 5:22pm
[3 replies] Last: Sorry i forget to mention some things. yes it is an int array I chan... (by eselar)
|
by vgoel38
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? |
Dec 13, 2012 at 5:12pm
[3 replies] Last: Lets call the target node to delete (the last one): discard // Set p... (by HoneyBoy)
|
by Lysanity
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 printed. Please guys help me ;[ |
Dec 13, 2012 at 5:07pm
[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 nacitajString #include <stdio.h> #include <stdlib.h> #inclu... |
Dec 13, 2012 at 4:53pm
[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 writes a number, the program mixes it (ex : dog -> ogd), and a... |
Dec 13, 2012 at 4:44pm
[6 replies] Last: Your mistake is that you are trying to assign the result string which ... (by vlad from moscow)
|
by Blitz1209
Really really basic vectors.
|
I've writtena code for the gcd of two integers a and d and these functions apply to an arithmetic progression a_n = a + n*d n a natural number including 0 and ... |
Dec 13, 2012 at 4:42pm
[3 replies] Last: After it's created, you can use them just like arrays. for random ac... (by ResidentBiscuit)
|
by rduckett91
Output data to file
|
I'm trying to output data to a file. I half killed myself trying to get the program to work , everything works all data is working. Heres my code // Week 13... |
Dec 13, 2012 at 4:29pm
[1 reply] : Have not tried your code but this looks wrong outFile << left << set... (by SamuelAdams)
|
by Localguy65
Can you initialize and array in a constuctor?
|
What am I doing wrong? Can't I initialize an array in the constructor? #include <iostream> class TypeHolder { private: int Items ; public: ... |
Dec 13, 2012 at 4:03pm
[3 replies] Last: Only error I really see is that you try to initialize Items with 5 va... (by Raezzor)
|
by Lysanity
Determines the highest and lowest
|
Write an algorithm that determines the highest and lowest among 3 numbers. Assume that the 3 numbers are unique. Can anyone help me with codes for this probl... |
Dec 13, 2012 at 4:01pm
[7 replies] Last: @mathalo: maybe you want to try this: #include <algorithm> #include ... (by Darkmaster)
|