General C++ Programming - October 2014 (Page 8)

Help!
 
The question is: Write a program that reads 3 integer numbers, then finds and prints the: Mean - Maximum & Second Minimum. I did this .. what's wrong?? #inclu...
[6 replies] Last: THANK YOU!!!!! :) (by JojoCx3)
avoid repeating a statement
 
lets say I want to repeat this for(i=0;i<16;i++) ... ... for(i=0;i<16;i++) ... for(i=0;i<16;i++)... for(i=0;i<16;i++) but typing for(i=0;i<16;i++) e...
[5 replies] Last: Use an editor abbreviation (check the documentation for your editor.) ... (by JLBorges)
this is a c++ book example.. can anyone solve it??
 
4. Write a program that generates a random integer number between 1 and 1000 representing the amount of money the user has (in a fraction of a KD ). The progr...
[10 replies] Last: Thank yew(⌒▽⌒) jemeripol (by deepestblue)
Help me out Please!!!
 
So this is the question: http://i59.tinypic.com/2vab4gp.jpg and this is my code .. what's wrong please help??? #include <iostream> using namespace std; const ...
[5 replies] Last: Read the assignment again. Look at the inputs. You aren't asking the u... (by dhayden)
by razzm8
Need help with this #2.
 
...
[2 replies] Last: Do you want help about using strcmp ? (by modoran)
Colloquium Exercise - STUCK!
 
The exercise: Write a function that takes 3 arguments. The function has to bring back a new number that has been generated with the replacement of the f...
[3 replies] Last: Well I found a solution, a friend of mine helped me out and we took so... (by filip995)
need help with segment tree (urionlinejudge)
 
this is my code for the problem : https://www.urionlinejudge.com.br/judge/en/problems/view/1477 but this is giving time limit exceed can you guys help me wh...
[2 replies] Last: about the operator i was messed up first with it so changed it to % fo... (by riteshmalav)
how to get a stream to a printer in c++ / mac os x
 
Hello again! How can I direct a data-stream to my printer. It's about mac osx and c++ without using the foundation classes! Thanks for your advice? ...
[no replies]
by Mon92
Merge sort implementation giving incorrect output
 
I've implemented the merge sort algorithm and used the 'merge' part for counting the number of split-inversions in an array as part of an assignment for an onli...
[5 replies] Last: mid = (last+first)/2; mergesort(arr, first, mid); mergesort(arr, mid+... (by MiiNiPaa)
RegisterClassEx, class conflict
 
I made a class that loads images from files and displays them on screen, with chosen color used for transparency (something similar to splash screen). But wh...
[14 replies] Last: [quote=zoran404]As for WNDCLASSEX I copied it from somewhere and only ... (by knn9)
by co14
Help with Bubble Sort Please!!!
 
I need to develop an algorithm that performs the bubble sort and need help with it! Here is my code so far, can anyone help me figure out what I am doing wrong?...
[1 reply] : /*C Program To Sort data in ascending order using bubble sort.*/ #inc... (by jemeripol)
(what does implemented function mean? and how do i write one?)
 
i need explanation with example of your own!! i`m studying for my midterm.. and i can`t find implemented functions in my notes!! i really don`t know h...
[16 replies] Last: Aaaahaaa~~ (by deepestblue)
by xystus
How to access a vector that was created in a separate header file?
 
Hi, so i have this vector: #ifndef new_thing_Inventory_h #define new_thing_Inventory_h #include <vector> #include <string> using namespace std; class...
[6 replies] Last: Ok, I messed up there quite badly. (by TheIdeasMan)
by juaok
When to catch an exception?
 
I know how exception handling works, but how should I actually use it in action? Let's say I have something like this: Class X { public: X(); //Pre-condition:...
[7 replies] Last: Now THAT is something I didn't know. (by S G H)
by antli3
*Urgent* Please help
 
Hi, im sorry for the huge post, but I really need help until Monday. The goal of this is to create a list of polynomials as a <Pol> vector, where Pol is th...
[2 replies] Last: Unfortunately, your parser is sort of a mess. It starts by finding "X^... (by dhayden)
by mrdp
convert a VB code to CPP [Manual]
 
Hello . I'm new in this forum I wanna convert this code [Visual Basic] to C++ , but I don't know that what do the lines 5,10,11 and 16 . There is some functions...
[1 reply] : In line 5 you convert an int intoo a string and assign it into a strin... (by zoran404)
Game Map in the Console
 
How would I make a game map in the console using text? The map is to be changed on a turn-based system. I've been thinking about using arrays, but I was also wo...
[1 reply] : You know, you could use ascii art to drawing your maps and I think you... (by zoran404)
implemented functions .. i don`t know what`s wrong
 
seriously i don`t know how am i going to take the test on Monday~~?? i can`t get what`s wrong with my implemented function?? i tried this code... pleas...
[8 replies] Last: I went to my instructor , then read it again!! 😅 cause I didn't eve... (by deepestblue)
Closest pair ,Planar Case
 
Hello , I've recently come across the closest pair problem and I don't understand some things . Please tell me if the question is vague. Questions : 1...
[8 replies] Last: It's a divide and conquer algorithm. You don't just reduce by half on... (by htirwin)
October 2014 Pages: 1... 678910... 38
  Archived months: [sep2014] [nov2014]

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