
please wait
by Tarkan1857
Rotational Movement with Rectangles
|
Hey, So I'm currently having an issue to rotate my paddle in my pinball game and was wondering if i could get some assistance on how to do this. I understan... |
Jun 2, 2016 at 6:47pm
[2 replies] Last: Thank you helios, this helped a lot. (by Tarkan1857)
|
by marty1123
program to count how many numbers between 1 and 10000 are divisible by 3
|
Write a program to count how many numbers between 1 and 10000 are divisible by 3 with no remainder. (You must use a for loop in your code). |
Jun 2, 2016 at 4:54pm
[5 replies] Last: A little algebra, I guess what Duoas was thinking: int count = 100... (by TheIdeasMan)
|
by rabster
Thread pool questions and advice.
|
Hey I made a simple thread pool and well "it works" but I was wondering if there were things I should do or add to make it better? I feel like I'm missing somet... |
Jun 2, 2016 at 3:34pm
[4 replies] Last: It's somewhat like a turnstile with unbounded job queue.. except tur... (by rabster)
|
by c00012
Using for-loop to Implement deletion in Array-based List
|
Hi, I’m writing a code to implement Array-based List in C++ using class and template. Here’s the code: template <typename T> struct ArrayList { T ... |
Jun 2, 2016 at 3:07pm
[1 reply] : just an idea: if you delete an item within a loop for (int i = 0; i... (by closed account 48bpfSEw)
|
by ephraimr
In what ways are C++ better than swift, python etc.
|
I know that c++has speed. Does it have other advantages in current day? I am only asking because now a days more and people are learning Swift and python. |
Jun 2, 2016 at 2:59pm
[1 reply] : I think this is a wrong question in a wrong forum? ^^ There is nothin... (by closed account 48bpfSEw)
|
by marty1123
prime number code
|
Write a program that prints all prime numbers up to an input number n. Your progam must allow me to put in any number, then using a for loop you must output all... |
Jun 2, 2016 at 8:04am
[7 replies] Last: There is something wrong with the code. For N = 10 it puts this out: ... (by closed account 48bpfSEw)
|
by Andrewcen16
Vector search/ sort help
|
I have been trying to write this for a few days now I do not know how could someone please just write the code for me Write a predicate function bool same... |
Jun 2, 2016 at 2:15am
[1 reply] : 1. Implement bool contains(vector<int> v, int i) , which returns true... (by helios)
|
by caldaba
CS string and string class
|
help i dont how to make this Palindrom and anagram #include<iostream> #include<iomanip> #include<cstring> #include<algorithm> #include<cstdlib> usi... |
Jun 2, 2016 at 12:34am
[no replies]
|
by marty1123
leap year code with for loop
|
can someone help me Write a program that prints the next 20 leap years. ( You must use a for loop in your code ) |
Jun 1, 2016 at 10:39pm
[1 reply] : #include <iostream> int main() { for (int i=0; i<1; ++i) { std::... (by cire)
|
by fkhs1990
Array.sort w/ a timer
|
Hello. I am having issues with trying to write a program in C++ that uses array.sort and having a timer as well. Sort a random list of elements of 100, 1,000, ... |
Jun 1, 2016 at 5:40pm
[1 reply] : ...that uses array.sort Are you supposed to use .NET for this task?... (by Thomas1965)
|
Why is my code displaying random lines? |
I'm learning Hashtables and I have this problem where there's garbage when I display my data. I ran the debugger and when it adds to the table it has all the ri... |
Jun 1, 2016 at 5:24pm
[6 replies] Last: You're welcome, Thomas. CppCheck is one of the tools that I never want... (by closed account 48bpfSEw)
|
by iJohnny
Parking fee prompt doesnt make much sense
|
Ive been assigned a program to complete but have been fiddling around with it and just cant get it... To me the prompt doesn't even make much sense. Can anyone ... |
Jun 1, 2016 at 4:57pm
[1 reply] : code incomple: double calcFee(int hours) { // If the car is ther... (by closed account 48bpfSEw)
|
Using push_back() with vector causing segmentation fault |
I am trying to use push_back() with a vector of type Section--i.e., vector<Section> sections. I am trying to use push_back() to add a copy from the copy constru... |
Jun 1, 2016 at 3:39pm
[10 replies] Last: Removing max_size() fixed my problem! Thank you so much, Helios!... (by closed account L1bXjE8b)
|
by technologist
not seeing the error
|
Trying to pass a pointer to a string via a function. Get the error (at bottom). #include<iostream> #include<string> using namespace std; void Print... |
Jun 1, 2016 at 3:10pm
[5 replies] Last: Thank you very helpful. I was going crazy with the ' vs. " (by technologist)
|
Editing data |
I am writing a program that will allow a user to edit hard coded data from an array. my issue is I don't know how to get the information to be saved and not jus... |
Jun 1, 2016 at 2:56pm
[4 replies] Last: nevermind after posting i saw my mistake... thank you again(: (by FranciscoDiaz)
|
by berfomet96
How to make two frames work together in c++ (using visual studio 2013)
|
good night, im having an issue with trying to figure out this. i need to work with two frames, i've already managed to open a secondFrame from the mainFrame. Ho... |
Jun 1, 2016 at 2:53pm
[3 replies] Last: If you call MyForm1 from mainFrame it will automatically return to mai... (by Thomas1965)
|
by khawar85
Resume the tasks with C++ based code
|
Dear Respected Programmers. Good morning. I hope you will be fine. I want to ask that is there any script to add in any code that can resume the task wher... |
Jun 1, 2016 at 2:49pm
[1 reply] : A possible solution would be to catch the WM_ENDSESSION message and st... (by closed account 48bpfSEw)
|
by A nonim
Matrix
|
NVM close or delete |
Jun 1, 2016 at 2:42pm
[1 reply] : Break down your problem in little problems. 1. you need a place for y... (by closed account 48bpfSEw)
|
by gedamial
Passing pointer to pointer to a function (value/reference)
|
Hello. Consider this example: void byValue(int** PtoP) { } void byReference(int**& PtoP) { } void byAddress(int*** PtoP) { } int main() { int my = { 2... |
Jun 1, 2016 at 1:40pm
[18 replies] Last: Much like int** is a pointer-to-pointer-to-int a int*&& is an (rva... (by cire)
|
by DTM256
Advance Keyboard & ASCII controls
|
Hey guys, I've recently come back to another try at writing my text game for windows. I've gotten rather complex with inputting keystrokes from the keyboard.... |
Jun 1, 2016 at 8:30am
[2 replies] Last: Yes, Therefore, instead of the outdated getche(), use the _getch(). ... (by DTM256)
|