49,761 Topics
| |
i have written the following code for an add fucntion for a linked list implementation. when i run it, it runs correctly. when i went to class today, i found i had made a mistake. my add function adds only a student data type, whereas the assignment was to make … | |
Hi, i know this topic was here several times, but all threads are very old and codes from them are not working for me. So, I need to simulate mouse and keyboard events on my windows (moving mouse,clicking mouse, pushing keyboard buttons). I need to do this all from c++ … | |
i have been given a series and ihave to find its sum. i'm just a beginner so pleese keep ur program simple; series is like this; 2^2 + ( 2^2+ 4^4) + (2^2 + 4^4 + 6^6).... take in number of terms from user. | |
hello guys, sorry if it's wrong topic name but in accelerated c++ book and in chapter 2 exactly i have a problem [CODE]#include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::endl; using std::cout; using std::string; int main() { // ask for the person's name … | |
First I would like to say my knowledge of C++ is limited; most of my experience is in Java. Also this is my first post to daniweb, so please excuse me if I didn't follow proper etiquette (but please let me know). That being said, I have a need to … | |
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 … |
The End.