General C++ Programming (Page 37)

need help with segment tree (urionlinejudge)
 
this is my code for the problem : https://www.urionlinejudge.com.br/judge/en/problems/view/1477 ...
[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 ...
[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...
[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 ...
[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 ...
[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 ...
[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 #includ...
[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 so...
[7 replies] Last: Now THAT is something I didn't know. (by EssGeEich)
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 cre...
[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 tha...
[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 syst...
[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 wit...
[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 . Ple...
[8 replies] Last: It's a divide and conquer algorithm. You don't just reduce by half on... (by htirwin)
Programming C++ on MAC OS
 
Hello! I started programming c++ on macbook pro and now i am searching for appropriate text edito...
[7 replies] Last: Yes . Eclipse is better than XCode (for C++ , java and ... programmers... (by mrdp)
by hope22
hi..help me finish this one please
 
#include <iostream> #include <cmath> using namespace std; #include <cstdlib> #include <ctime> u...
[4 replies] Last: and the way you are calculating your coins is wrong ,,, you need to ch... (by deepestblue)
there is was a question that i answered before and now it`s done by recursive for who needs:)
 
2. Write a recursive function GCD that returns the greatest common divisor of two integers. Where ...
[no replies]
Reading in TEXT files
 
Ok guys, so I have this program. Menu driven, input a traffic ticket with 8 variables is step 1. St...
[no replies]
by Droid
while loop
 
//Print every odd number descending from 39 int y = 0; while(y <= 39){ cout <...
[1 reply] : You're initializing y to 0, but it looks like you want to initialize t... (by wildblue)
Problem with program "Stopped working" [Beginner]
 
Hello, so I was trying to make a c++ console game "Gallows" for school, and I've noticed, that my pr...
[7 replies] Last: @MiiNiPaa Thank you very much! My code now runs perfectly. Here is the... (by Justas Sam)
Pages: 1... 3536373839... 66
  Archived months: [sep2014]

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