General C++ Programming - March 2014 (Page 29)

Displaying Editable Text in the cmd View?
 
Hello. I am wondering if it is possible to display editable text in the command prompt when the prog...
[no replies]
by kc53
Playing a sound from a resource file.
 
Greetings all, I understand how to play a .wav file in a program, but I am attempting to "package...
[6 replies] Last: Woops, silly me. PlaySoundW was my suggestion :v (by xismn)
assignment operator
 
So im making a somewhat bigger project for a assignment in school and i'm wondering how i should go ...
[6 replies] Last: @Computergeek01 Your right, the array is meant to have a fixed size ... (by sebbe605)
by vrakas
All subsets of 250000
 
Given up to 250000 numbers i have to produce a list of subsets(first of one element, then of two etc...
[1 reply] : What exactly do you need? Something like that? #include <algorithm> #... (by MiiNiPaa)
Regula falsi
 
Am new here and we've been asked to write a C program to illustrate the use of regula falsi anyone...
[1 reply] : http://en.wikipedia.org/wiki/False_position_method#Example_code (by JLBorges)
by Slord
'sword' does not name a type error
 
I've stripped my code down to it's absolute bare minimum and am still getting this error which I don...
[4 replies] Last: NVM, answer is yes as main is obviously called first so if it's put in... (by Slord)
Good Cross Platform Way To Communicate With The NIC
 
I am planning to write an Ethernet API, but I need a way to do each of the following: 1. Ask The N...
[2 replies] Last: Check out this: http://www.slideshare.net/victor1tnet/scapy-communicat... (by ResidentBiscuit)
Help! To develop a program (For-loop)
 
help i need to create a prgramme that does .. · Demonstrates a ‘for’ loop that produces the...
[5 replies] Last: Thanks guys that was really helpful!! :) (by prashant0789)
Multithreading--Semaphores
 
Hi All, I have come across below code to demenostrate the use of semaphores #include <pthread.h...
[10 replies] Last: you have three threads: main, thread1, thread2 if one of them is in a... (by coder777)
Emulating 8237A DMA Controller?
 
I've written a script emulating a DMA controller. Anyone knows if this is correct? Sources: http...
[1 reply] : Continuation of the file: byte DMA_ReadIO(word port) //Handles IN in... (by superfury)
Initializing object of a class inside another class
 
I have a class MySeqBuildBlockModule that I am inheriting from: public SeqBuildBlock. Other than co...
[5 replies] Last: Thanks everyone, I solved this problem as: 1) by declaring in privat... (by dkumar3)
Vector syntax: resize and reserve
 
Hi All, We can construct vector in following ways vector<int>v1; //create an empty vecto...
[1 reply] : vector<int>v(10,5) I am clueless ,is this allowed?,what syntax all... (by Catfish666)
IsDialogMessage - Cursor not blinking
 
Hello everyone I have created a simple WIN32 application. I inserted the function "IsDialogMessag...
[1 reply] : I just got the solution: while(GetMessage(&Msg, NULL, 0, 0) > 0) ... (by theRunner)
by zsmash
Number counting up to infinite .
 
#include <windows.h> int main() { int i; int y=6; int x=9...
[2 replies] Last: your for loop will never execute. Considering 0 is less than 1. Also a... (by giblit)
Header File Will Not Compile
 
I am currently learning OOP, and I can't figure out what the problem is with my header file. The res...
[1 reply] : main() should be in a source file. The preprocessor can't find Rectan... (by Zhuge)
Code::Blocks or Visual Studio Express??
 
I have been using the Dev-C++ IDE ever since I started programming over two years ago. While, by a...
[9 replies] Last: I don't understand what you mean. Visual Studio has been proven itself... (by closed account N36fSL3A)
find vowels
 
how to make a program that find vowel in each word. for ex: he is good. no. of vowel: 1 1 2
[4 replies] Last: Don't forget that sometimes "Y" is a vowel. How can you code for that... (by cnoeval)
by Dkob1
cin.peek help equation
 
So far I did this but I have to use cin.peek and I'm not really sue how it works. I have to delete t...
[12 replies] Last: ya I looked at the other link but it was different, thanks anyway just... (by Dkob1)
C++ Programming Multiple Functions
 
#include <iostream> #include <stdlib.h> using namespace std; void DisplayMenu(void); voi...
[2 replies] Last: I have fixed the error but i want to show if the number is prime for t... (by Noob Programmer)
Trouble with Code for a class project
 
I'm using Codeblock and I'm having trouble running this code I keep getting errors can anyone help, ...
[2 replies] Last: thanks so much we figured out where I included the % and did not need ... (by apachejoe)
March 2014 Pages: 1... 2728293031... 36
  Archived months: [feb2014] [apr2014]

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