49,761 Topics

Member Avatar for
Member Avatar for DespDev

Hello Everyone!! just a newbie here looking for some advice. ready to accept any suggestion that I get. I wish to make a GUI for a specific feature of a lenel panel 2220. I'd like to have a list of the activity on badge reader. I have the Lenel set …

Member Avatar for rproffitt
0
252
Member Avatar for BunThai

Sorry in advance !! I have just finished learning OOP lessons in class, but my teacher he just provided the students a small exercise (class and object). Now, i really want the OOP idea (project) which are related to inheritance, overloading, polymorphism else,or if you have any links that related …

Member Avatar for rubberman
0
257
Member Avatar for Sameer_6

Please help me to use the functions. The program does not move ahead of main() to use the functions. I mean once the main() statements are executed the program doesn't execute the calling of functions. I've used Turbo C++ which does not allow string instead of char data type(Though I've …

Member Avatar for rubberman
0
250
Member Avatar for Sameer_6

**Please fix the errors in the code ! I've used Turbo C++. I need it for my High School Project ** #include<iostream.h> #include<iomanip.h> #include<conio.h> #include<process.h> #include<fstream.h> #include<string.h> #include<stdio.h> //logistics //site fees //transaction fee //packaging fee //FK //SD //AZ //PayTM //eBay //ShopClues char categdisplay(); char logdisplay(); char wbdisplay(); void display(); char …

Member Avatar for rubberman
0
405
Member Avatar for Syed_10

I've asked the same Question here http://stackoverflow.com/questions/34422852/debug-assertion-failed-binary-search-tree > IM IN DESPERATE NEED OF HELP. Im working on a project, What I want is to get data from a database (MySql) and store it in a Tree. And be able to do insertion, deletion or updates on the nodes, if any …

0
122
Member Avatar for kgz

Hi i really want to set the window position of my console applicaton I've managed to find Console:: SetWindowPosition bu using google but cant find how to use it... [URL]http://msdn2.microsoft.com/en-us/library/system.console.setwindowposition.aspx[/URL] This link shows an example. But it wont compile I'm guessing its missing header files, what are they? I dont …

Member Avatar for Faisal_11
0
3K
Member Avatar for wh196785615

Just begin to study the C++ class. I do not know how to solve the question, Looking for someone to help me. 1. Create a class definition for an object called Account. Add a constructor and destructor to it. 2. Create a class CheckingAccount and make it a child class …

Member Avatar for David W
0
180
Member Avatar for Aeonix

If I wrote a program which would `Console.WriteLine()` a base64 code, like an easter egg ("a hidden secret" in gaming jargon) or something, for example string EasterEgg = "dGhlYmlnc2VjcmV0"; Console.WriteLine(b64d(EasterEgg)); And I would let a good obfuscator run through it. Now I know that crackers with enough time and knowledge …

Member Avatar for Aeonix
0
447
Member Avatar for sheelap

hi, i am trying to use parseByte function on hex string it show exception number out of Range.NotNumberFormat exception thrown out. pls tell me why it is. my expression is like this byte b=Byte.parseByte("ac",16); it shows above error pls help me.pls explain in simple language.

Member Avatar for JamesCherrill
0
191
Member Avatar for waseem1345

How do they work? Does -'0' always convert to int from char? Can it convert from anything? And same question about +'0', does it convert only from char to int, or from anything? Thanks in advance :)

Member Avatar for David W
0
8K
Member Avatar for sanraj_1

Hey guys i am having a problem with this function. Its a fucntion to generate bills and i want to add a condition in where if users enters a wrong product number th program should not proceed. Any help is appreciated. void place_order() { int order_arr[50],quan[50],c=0; float amt,damt,total=0; char ch='Y'; …

Member Avatar for David W
0
200
Member Avatar for legio13

Hi there! I need to find the mimimum element in two-dimensional(4,4) array by row and maximum element by column and store them in another array (5,5).Maybe I did not explain properly. That's how it should look new array (5,5): 1 2 3 4 min 1 2 3 4 min 1 …

Member Avatar for tinstaafl
0
2K
Member Avatar for glao

Hello , I want to compare each element of an array with every other. For example, array[0] with array[1] , with array[2] ... Then , array[1] with array[2],with array[3] ... So , I thought something like this : for ( int i = 0; i < N; i ++ ) …

Member Avatar for tinstaafl
0
545
Member Avatar for rose_2

i tried to figure out the wrong here but i donnu why it ignore the part of string converting .. b2 is always equal to 0 in the output .. here is my code #include<iostream> #include<string> #include<sstream> #include<bitset> using namespace std; void encrypt(long num); int main() { int N, M; …

Member Avatar for David W
0
138
Member Avatar for Megaz221

Hi, I guess I'll post here with my problem as well my introduction. I've coded in Java in high school for 2 years but my teacher was horrible so I decided to wait till college to take another programming class. Well I'm Programming Fundamentals and have been assigned a program …

Member Avatar for Muhammad_100
3
14K
Member Avatar for lewashby

I hot the following program from the book 'C++ For Dummies' but have two questions about it. First I compiled the program but I'm afraid to run because the memery created from the heap does not appear to me to get de-allocated. Am I correct in not wanting to run …

Member Avatar for rubberman
0
398
Member Avatar for papuccino1

Hello, I'm 100% new to C++ and someone recommend Code::Blocks as the best IDE for coding in this language. However when I try to run my code: [CODE=c++]#include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; cin.get(); return 0; } [/CODE] I get the following …

Member Avatar for corey_2
0
2K
Member Avatar for Amr.Mohammad87

I've read the following statement and I cannot understand something within it "*In all binary trees, there are at most 2^i nodes at level i + 1*" what I cannot understand is that tree's levels start at level 0, however, if we apply what is written in this statement there …

Member Avatar for Ben McNamara
0
202
Member Avatar for justine_1

Hello guys so i'm quite new to C++ but i already learned OOP and other things so i want to use this little knowledge yet to create some basic program. I wanted to make a program that uses some API's but the problem is i'm not famillar how API's work …

Member Avatar for justine_1
0
443
Member Avatar for Alex_38

The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in C++ that achieves this. The program is in a number of parts. 1. The program should allow …

Member Avatar for tinstaafl
0
290
Member Avatar for preslav_milev

Hello ! How can I change my sorting function called bubblesort, so that it uses a dynamic stack. Now I've done and funcion can work properly, but is using list, because I intercede for the next item and in stack i have access only to the top. Data for stacks …

0
141
Member Avatar for progteacher2

Hello good morning...I need help on how print the heart beside each other here is the code.. #include <stdio.h> #include<stdlib.h> #include<Windows.h> int heart() { int i, j; for(i=10/2; i<=10; i+=2) { for(j=1; j<10-i; j+=2) { printf(" "); } for(j=1; j<=i; j++) { printf("*"); } for(j=1; j<=10-i; j++) { printf(" "); …

Member Avatar for progteacher2
0
174
Member Avatar for Curious Gorge

I'm pretty good with Java but I would like to learn to create interesting things with C++ or C. At the moment I have to ask: Why do all of these IDE's and libraries make it so damn difficult to set up an environment for programming? Personally I believe programming …

Member Avatar for triumphost
0
388
Member Avatar for Ashish_23
Member Avatar for progteacher2

Greetings. I would like to ask for help. Our teacher ask us to make these messages move vertically. "Merry Christmas""and" "Happy new year". I just dont know where to start..but my idea is that I will be using the for loop.Would that be possible??

Member Avatar for deceptikon
0
111
Member Avatar for MandrewP

Hello, I'm trying to create a data area within an .exe file. Then I will open the .exe file and scan it for the data area. When the data area is found, I will write some data to this data area and write the .exe file back to disk. I …

Member Avatar for rubberman
0
118
Member Avatar for Misar

hello guys, i'm a noob in programming and i just want to understand this two question below: //does anyone know how is the question end, i head it in exam and i didnt know what to do with it: boolean b =false; int i=90; //also i head this question was …

Member Avatar for rubberman
0
161
Member Avatar for El Ticha

I have a new command in my connection 1 of my dataenvironment, but, when i drag the "Command1" to my form, i cant see the labels and textboxes , why? Please help me, its my homework

Member Avatar for Suzie999
0
79
Member Avatar for Callum_2

Task Your task is to write a program that will draw graphs and output them as a full colour image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and …

Member Avatar for rubberman
0
1K
Member Avatar for lloydsbackyard

Need a free links of for c++ compiler ide for windows multipoint server 2012 OS..thank you.. I download turbo c++ but its dos based and my setup is n.computing..it will not run to other monitor connected to the main pc.. thank you..

Member Avatar for pritaeas
0
182

The End.