49,761 Topics

Member Avatar for
Member Avatar for hurbano

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 …

Member Avatar for hurbano
0
145
Member Avatar for deidara1512

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++ …

Member Avatar for deidara1512
0
233
Member Avatar for shubhankarmayan

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.

Member Avatar for prvnkmr449
0
432
Member Avatar for XMasterrrr

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 …

Member Avatar for XMasterrrr
0
143
Member Avatar for Matt_L

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 …

Member Avatar for klemmerj
0
122
Member Avatar for Takeshi91k

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. …

Member Avatar for Takeshi91k
1
137
Member Avatar for captainSheepdog

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 …

Member Avatar for captainSheepdog
0
133
Member Avatar for thr

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 …

Member Avatar for Premsathishbe
0
340
Member Avatar for Ami_m24

HI everyone i wanna ask that how can i make the combo box readonly which is created using MACRO

0
29
Member Avatar for NicAx64

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 …

Member Avatar for chococrack
0
187
Member Avatar for CodyOebel

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 …

Member Avatar for NicAx64
0
227
Member Avatar for XodoX

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> …

Member Avatar for XodoX
0
90
Member Avatar for hurbano

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 …

Member Avatar for hurbano
0
98
Member Avatar for nizbit

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 …

Member Avatar for dusktreader
0
536
Member Avatar for GooeyG

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: …

Member Avatar for GooeyG
0
109
Member Avatar for PixelExchange

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 …

Member Avatar for PixelExchange
0
93
Member Avatar for great_learner

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... …

Member Avatar for Ancient Dragon
0
91
Member Avatar for shankarz

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?

Member Avatar for shabbaz_paras
0
116
Member Avatar for vbx_wx

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 ?

Member Avatar for Narue
0
69
Member Avatar for arshiyafatima
Member Avatar for great_learner

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 …

Member Avatar for great_learner
0
162
Member Avatar for Sinaru

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 …

Member Avatar for Sinaru
0
169
Member Avatar for chilambu

hoe to use the operator overloading in c++ using string cncept.especially << operator.

Member Avatar for Duki
-1
111
Member Avatar for ThrasherK

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 …

Member Avatar for Duki
0
201
Member Avatar for DAlexNagy

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 …

Member Avatar for DAlexNagy
0
155
Member Avatar for delle

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() { …

Member Avatar for Duki
0
202
Member Avatar for DAlexNagy

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 …

Member Avatar for DAlexNagy
0
498
Member Avatar for Babaty

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 …

Member Avatar for Fbody
-2
88
Member Avatar for Sismetic

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 …

Member Avatar for Kanoisa
0
233
Member Avatar for unsureandunclea

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 …

Member Avatar for Kanoisa
0
123

The End.