General C++ Programming - October 2015 (Page 22)

by gilley
Problems with making metronome in c++
 
So few weeks ago I decided to make metronome in c++. Since I don't have much experience in c++ I tought it would be simple project ... Oh how wrong I was. But s...
[no replies]
Advanced Data Type
 
So, ofcourse not asking you to do my assignment for me, So I have the work I tried attached. Could someone simplify this to me in c++ language? Define a cla...
[3 replies] Last: Thank you JLBorges and ats15 However my math abilities are really bad... (by AmmmG 01)
Output problem
 
i have this: #include <iostream> #include <windows.h> #include <conio.h> using namespace std; void gotoxy(short x, short y) { COORD pos = {x, y}...
[1 reply] : You have a gotoxy() function to move to a specific place on the screen... (by AbstractionAnon)
Program
 
Hello, I need to understand these lines of code, I'm studying the unix program grep. It is not overly long, only 100 lines or so :o Comments, what the line...
[3 replies] Last: Sorry, but it's unlikely anybody here is going to go through 100 lines... (by AbstractionAnon)
Card game (E-card)
 
This game is from an anime and the player has to bet in millimeters. There are 2 sides here, the emperor and slave side, with the emperor, 1 millimeter is equal...
[2 replies] Last: You have a lot of lines that don't make sense. As kbw said, why ar... (by AbstractionAnon)
need help regarding palindrome using pointers
 
code is not working :( #include<iostream.h> #include<process.h> #include<conio.h> #include<string.h> #include<stdio.h> void palindrome(char *str1,int l); void ...
[1 reply] : why so many libraries ? you only need iostream anyway i should tell yo... (by closed account E3h7X9L8)
Variable Creation During Runtime
 
Aao!! I'll start off by saying that I want to create an operating system. Now, I won't go into how I started wondering about this but say I wanted to create ...
[1 reply] : well an os does not only use a single language , and you should know t... (by Ericool)
How to draw a point in C++?
 
how can i make a point on screen by mouse click ? which platform i should use in mac ?
[5 replies] Last: You can use any platform you want. SFML is indeed compatible with Vis... (by LB)
Something similar to LCS
 
Well this is my assignment: https://github.com/SytemProgramming2015FallatNTU/Announcement/wiki/Homework-1 Don't worry about the due date. I'm working on drawin...
[7 replies] Last: I initialize it int i=1, j=1;. It still the same... This will go out ... (by coder777)
game
 
#include <iostream> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <cstdlib> #include <windows....
[1 reply] : can anyone tell how to fix this program. my problem is when i click y ... (by olalsolals)
by Smoky
Please help! Recv
 
Can anyone please explain me how should I write in a command to recive a message from server. I got command Send working. It's on bottom, under 'while'. It's ma...
[1 reply] : Don't post in four places at once, it's disrespectful to the people tr... (by Hippogriff)
Advice implementing Decorator Pattern?
 
Hi, I'm dealing with the exact same issue as the OP here: http://stackoverflow.com/questions/5432288/how-to-avoid-c-cast-for-specific-class-methods-design-patte...
[1 reply] : > without using static_cast or virtual functions? Without using any ... (by JLBorges)
ShellExecute Help
 
Is there a way to open a website in a new window for chrome or firefox? I tried this: ShellExecute(NULL, "open", "C:\\Program Files (x86)\\Mozilla Firefox\\f...
[4 replies] Last: Ok that works. Thanks for the help (by Bingocat4)
Just one error that I cannot deal with...
 
Hi all, I'm doing a string selection sort program. However there are some errors in my code that is probably beyond my ability to solve, can someone kindly t...
[1 reply] : Header #ifndef SORTINGCOMPETITION_H #define SORTINGCOMPETITION_H #... (by FrankRafa)
Console application that scrolls a text message following a sine curve
 
The program must be in the following order: It must allow the user to change the amplitude of the wave, Period of the wave, Direction of the text, Frame speed ...
[3 replies] Last: Yeah i can get through that solution. but in my program the user shoul... (by akashkannan8)
by smb15
Help with Search & sorting
 
Hello, I am needing some help with searching and sorting. We have to create a program that asks the user if they want to run a bubble sort or a selection sort &...
[1 reply] : so uhh.. did you finish this code? I also ran your code and you have t... (by TheGOAT)
Read Image into Array using C++
 
Hello everyone! I have been trying to program reading an image into an array, and to date, have achieved the following in my *.cpp file: #include <stdafx....
[6 replies] Last: Thanks for your input. I recognise that the header file is 54 bytes a... (by davidSpears)
by css416
Functions with Arrays (HELP PLEASE)
 
I'm having difficulty creating a function that adds all the positive numbers in an array and adding negative numbers too. SEE SAMPLE BELOW SAMPLE DIALOGUE ...
[2 replies] Last: #include < iostream> const unsigned int NVALUES = 5; signed int va... (by Ericool)
cin doesn't work - skip to next cin
 
Hello, After one cycle of while-loop of the 2nd function (addItems) below is finished and I press 'y' to add one more person, it does not ask me to input nam...
[2 replies] Last: Thank you so much for your help. (by Deliberation)
THREE ERRORS. PLEASE HELP !!
 
Hi guys . i would like to show to you my code. i think its right but. 3 error showing up. the 3 errors are these error: expected initializer before 'int' error...
[1 reply] : Move the seimicolons from the end of the function headers (below main(... (by coder777)
October 2015 Pages: 1... 2021222324... 27
  Archived months: [sep2015] [nov2015]

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