49,757 Topics
| |
This is my first post here on Daniweb and I intend to do things right. I actually did read the "READ THIS FIRST" thread and instead of posting 500 lines of code I whipped up a test program I aptly titled test.cpp First I will walk you through my problem. … | |
Hi everybody, I recently created my first full application and have since passed it along to my friend for testing. Unfortunately, on his laptop, the executable, when double clicked, will act as if it is launching, show up in task manager, remain in task manager, but will not launch. The … | |
hello I want too choose among c++ + qt + php and java for my programming language and platform please help me too choose best platform I want to choose a platform that has this features : speed, portable I am c++ programmer and familiar with java programming language i … | |
HI everyone i wanna ask that how can i make the combo box readonly which is created using MACRO | |
hi, Does someone have a good books(if free fine but commercial even oky) on code reviewing and industry c++ projects? I mean how I could do a professional code review according to the industry standards? I need to read a one and want to listen from the experienced ppl in … | |
Ok here is what I am doing! I got a game that I am hacking\creating auto healing macro. *I am using DEVC++ by BloodShed \ Also have CodeBlocks and Visual c++ *Using windows 32 API framework I understand some basics of windows API, and getting handles, and device contexts and … | |
Hello, the compiler has a problem with my "std::string line". It's in there twice, but I didn't know how else to do it. The program is like a lexical analyzer. What's the best way to fix this? [code] #include <iostream> #include <fstream> #include <string> #include <iostream> #include <string> #include <cctype> … | |
Ive written this program yet have stumbled upon a problem. in this program, im supposed to make a linked list of students. i must then implement some basic functions. one is to add a student (which i believe is working properly) and another is to getStudent. i believe the code … | |
I'm trying to find duplicates in an array and removing them by shifting the array index using the same array. I can't figure out where in my code the problem is but I'm still getting a duplicate. Could someone please help pinpoint the problem? I've tried debugging it but I'm … | |
I had this working before, but I modified it and it stop working. So, I change the code back to when it was working and I'm not getting the same results. Here is what I'm getting. How many employees you want to enter? 3 Enter gross pay for each employee: … | |
Does anyone know if it is possible to create a program which runs on windows.. but has a [b]Macintosh[/b] Window appearance? I would like to have a Mac. appearing window.. on windows.. Example: Instead of the close, minimize, and maximize being red, blue, and blue (Windows 7).. I would like … | |
hi, i know i m asking sort of stupid question, but i cant figure out my mistake. in winform c++, i have added two buttons and buttons' properties visible and enable are set to true but at runtime, both are not visible. can someone help me figure out my mistake... … | |
The graphics.h header file is not running in turbo c++ 4.5, why? [CODE]#include<graphics.h> #include<conio.h> void main() { int gd=DETECT, gm; initgraph(&gd, &gm, "c:\\turboc3\\bgi " ); circle(200,100,150); getch(); closegraph(); } [/CODE] Please give me a link to download c-graphics tutorial? | |
if you create an exception object on the heap and throw the pointer to that object, it will not be cleaned up. Can someone help me how to implement this ? | |
| |
Hi, Can anybody tell me that how can i open file and write it in winform C++? i have googled alot and searched msdn but could not find appropriate help. I also tried using fstream's objects but they were declared unidentified on winform. what can i just do? what stream … | |
You can use the following class to align text such as paragraphs to be centered, right, or left on a console. Also it supports some more methods. I have written this so it will be helpful for some and also for me. I'm not that pro so have wasted a … | |
hoe to use the operator overloading in c++ using string cncept.especially << operator. | |
I have been working on a program that starts with the user entering an id (as in account id) and then a main menu pops up where they can choose between balance check, withdraw, deposit, and exit. The program is never supposed to end. It is supposed to keep looping … | |
I am writing a GUI in GKTMM for my own learning experience and to use on a personal project I have at home. The data will be stored in a MySQL database on a server I already have running in my home and which I use for some PHP/JavaScript code … | |
I wrote a little test program to try to figure out some problems I am having in another program I'm working on. Code: [CODE]# include <iostream> # include <string> using namespace std; void ahoy(string nameEntered) { cout << "Ahoy, " << nameEntered << "!" << endl; } int main() { … | |
I am learning to write C++ code to access data in a MySQL database. My goal is to use a separate class to control the database access so I can use this class elsewhere. To facilitate my learning, I'm working on simple code to connect to a database (success!) and … | |
Guys can u check this one out ? Q1: design a system that will read students information, display them in a table form, and implement some operation on them. The system must show the following: ========================================================================= Do you want to add new students? Do you want to display the student … | |
Im trying to do a screen-flashing application that flashes the screen depending on the audio(like an audio visualizer, but instead of a visualization like bars or something like that, just flash the screen). I already made the music player and know how to make the widget get full screen and … | |
Hello, i'm currently creating a program that allows the user to input a sentince and then the program compares each word to the array to see if there is any matches. The program also is able to sort using quicksort and other sorts. however, i am not sure how to … | |
Hi all, I want to solve the dining philosopher problem in c++,linux. But i don't get any clue. Can anybody help me to solve this. I know the problem theritically very well. But having confusion to implement it. Thanx in advance. | |
I've just started learning c++,so i want to take any challenge concerning c++.My question is where do i start when drafting a game program.Please ppl help me out. | |
I have a homework assignment that requires the user to input two equations from the keyboard. The user can enter any letter of the alphabet but each equation can only have a total of 26 letters. I created a class for the equations and I was able to validate the … | |
To make a long story short here is the situation I'm in right now: I have one thread downloading a file from the web to a local file. I need the other thread to get the local file's current size AS its downloading. So, what would you guys recommend to … | |
I'm taking a graphics class, and we have just started using OpenGL. My professor gave us a simple program that draws a purple line, that we were supposed to compile. I took it home and tried to compile it, and i got a lot of undefined symbol errors. Any help … |
The End.