49,761 Topics

Member Avatar for
Member Avatar for usedcars

I am web designer. I have skills in html, css and editing some javascript. I want to start studying programming specially for web development. Unfortunately, i do not have a basic background on programming. Can you please help me what is the basic or easiest programming language should i start …

Member Avatar for ArkM
0
101
Member Avatar for delsigno

Ive been programming in java for about a year and im starting to learn c++ and i tryed public Unit Human = new Human(); that just came up with a bunch of errors in c++ so i read some tutorials and changed it to Unit* Human = new Unit(); now …

Member Avatar for delsigno
0
102
Member Avatar for crioto

For example, i need my own compress format (like zlib). I need to standard archivers this Compress file does not open! What should I do? Can I do this with the help of zlib? Or slightly altering zlib? Or will have to write your compressor and decompressor? I hope I …

Member Avatar for Duoas
0
91
Member Avatar for hellooo

[QUOTE]#include<stdio.h> #include<stdlib.h> #define MAX 30 int menu(){ int choice; printf("1. Add a new reservation\n"); printf("2. Show details of a reservation (given reservation number)\n"); printf("3. Make Payment (given the reservation number and payment amount)\n"); printf("4. Confirm a Reservation (given the reservation number)\n"); printf("5. Quit\n"); printf("Enter your choice: "); scanf("%d", &choice); return(choice); …

Member Avatar for Agni
0
132
Member Avatar for Abakiz

My problem is that when i enter a second name into t it just ignores it or crashs the system, am running borland 5.5. When i enter Oli its fine but when i enter Oli Dl it crashs. [code=cpp] #include<iostream.h> #include<iomanip.h> void main() { char t[100] = {0}; char key …

Member Avatar for WaltP
0
81
Member Avatar for nikki123

hello, can anyone help me for the following C++ program. i want to write a program which reads a file of C language and Print Lines of Codes and print signature of all function (including main) in that file. please tell me either logic to develop this program or solution(code) …

Member Avatar for vmanes
0
144
Member Avatar for zourlas

It might sound stupid to most of you.....but it is the first time i want to write 2 columns of data in a txt file.....The first column will be an index of the second column. The second column has constant length but the index will have length from 1 to …

Member Avatar for zourlas
0
148
Member Avatar for Ccrobinson001

I have a program due shortly and I can't get this to work. I have many errors that show up and can't figure them out. Can I get some help to get me on the correct path. [code=c++] // This program shows a structure with two nested structure members. #include …

Member Avatar for Ccrobinson001
0
4K
Member Avatar for Anonymusius

I have this code: [code] #include <iostream> using namespace std; class hello { private: char array[4][5]; public: hello(); void get_hello(){cout << "From the function: array[2][2] = " << array[2][2] << endl;} } hi; hello::hello() { char array[4][5] = { " ###", "####", "####", "####" }; cout << "From the constructor: …

Member Avatar for killdude69
0
163
Member Avatar for Traicey

I have struct which is like this [ICODE]struct Node { int Num; Node *Point }[/ICODE] so the program has to insert the numbers in the list during the execution, so the user can insert as many number as s/he wants so I want to sort those numbers when printing, I …

Member Avatar for Prabakar
0
101
Member Avatar for &rea

hello, I have get through this problem, I want to divide these numbers but the result calculated by c++ is not right. I am quite sure it is due to the type of the variables but I don't know how to solve it. [code] unsigned long long u40=16825420246; unsigned long …

Member Avatar for &rea
0
125
Member Avatar for williamnz

Hi there, I have one class (MyClassA), with a method draw() from this method I am trying to access an instance of MyClassB. The instance has a variable v[X] and v[Y] which I need to access but can't because it is declared as private... Is this possible via pointers? Could …

Member Avatar for William Hemsworth
0
392
Member Avatar for Daco

hi everyone, a friend of mine made a program that was bounded on your mac. a few days ago he released his code and i was interested so i downloaded it. i took the mac retrieving code and placed it in my own code. once all .h and everything were …

Member Avatar for sachin1_pangare
0
519
Member Avatar for MrGobroski

Greetings... I am trying to get a 2-d vector filled with a records form a dataset. this is what I have: [code] int StudentNum = 1, rflds; TDataSet *Students = DSet; String stu; rflds = Students->FieldCount; //Number of fields in the dataset vector< vector<String> > dataset(Students->RecordCount, vector<String>()); while (StudentNum <= …

Member Avatar for MrGobroski
0
158
Member Avatar for Imperial Advent

Hello, Well, not long ago i've been given a worksheet at school since I wanted to get into software development to achieve small games and useful programs. The worksheet is really simple and i've learned quite a bit on basics but I still need help. This is what I could …

Member Avatar for falguni.panchal
0
373
Member Avatar for Hummy
Member Avatar for Spartan552

Hi. I need to use a fstream variable for each instance of my class but... #include <fstream> class MyClass { public: MyClass(bool bKernel) { } std::fstream fichier; }; int main() { MyClass module(false); module = new MyClass(true); return 0; } This one wont work printing some weird errors : g++ …

Member Avatar for Duoas
0
238
Member Avatar for CPPRULZ

I'm trying to figure out how to use the atoi function I have wrote and understand this so far: #include<iostream> #include<cstdlib> #include<cstring> using namespace std; int main() { int x; string str="34"; x=atoi(str); cout<<x; system("pause"); return 0; } And Then I get error reports about a freakin const char?! HELP!

Member Avatar for CPPRULZ
0
538
Member Avatar for robertmacedonia

I get an error when I try to give this button a na ction of showing a new form. It says: `"error C2039: 'poeni' : is not a member of 'IgraBobi'"`. But this "poeni" form IS a member of the "IgraBobi" solution. I added it correctly, why doesn't it recognize …

Member Avatar for Wiki_Tiki
0
116
Member Avatar for friendlyguy

hey everyone! im kinda a bit stuck my friend is a mega coder in the 'gunz' (gaming) world and he has just made some thing. ohh he also said i need to do it in dev c++ (if that any use to any one) lol he sent me 3 files, …

Member Avatar for friendlyguy
0
143
Member Avatar for robertmacedonia

I got this error and have no idea what it means... May i get a little help please ? error C2059: syntax error : ']' [code][ #include <iostream> using namespace std; int broj (int be, int a[]) { int br=0; int f=0; int b[200]; for(int i=0;i<=br;i++) { for (int j=0;j<=br;j++) …

Member Avatar for robertmacedonia
0
84
Member Avatar for williamnz

Hi there, I have a custom class , lets call it MyClass. In the main part of my prog I want to run a cout which outputs say Myinstance. I would have though I would add it nt he stdiolib. But I want to add it in my class... Something …

Member Avatar for williamnz
0
2K
Member Avatar for phickman7872

Hi all, I am new to C on linux and have a question about I/O. I am trying to read input from the command-line: printf("What is your first name? "); scanf("%s", firstName); printf("What is your last name? "); scanf("%s", lastName); printf("What is your age? "); scanf("%d", &age); printf("What street do …

Member Avatar for yap.nice
0
388
Member Avatar for np2100

Hello, I was wondering about something. Whats the point of learning console programming (The black screen that comes up) when Win32 or another windows api has completely different syntax. Eventually the person will want to make an actual windows application so what would be the point of learning console first. …

Member Avatar for yap.nice
0
130
Member Avatar for gayatrisona

I am facing a problem in Borland C++ code. There is a database in SQL server 2005. Merge publication is done on the database. the borland c++ application connects to that database. There is one table in the database named DBTable which we are trying to open in the following …

0
50
Member Avatar for REJARR

As a part of school project, I want to create a program which allows easy access to details about books and about borrowed books. I am planning to create the digital library in command line mode. What are your inputs about the project and classes that I need to design.

Member Avatar for ArkM
0
84
Member Avatar for ee_girl

Hi!, I'm a first-year student at the university. When i am using Tubo C++ , i encountered a problem with inputting Date to graphics window. The code below here is the way to input date in text window, but i dont know how to input this into the gaphics window, …

Member Avatar for Salem
0
102
Member Avatar for r.ranu1

I am getting the error message "segment _TEXT exceeds 64 k" when i am linking my program in borland turboc3 3.0 compiler. Can anyone suggest a remedy for this. I have tried reducing some lines of text from my program but to no help and now i can't reduce any …

Member Avatar for Duoas
1
140
Member Avatar for BradenMurphy

hey all This would be my 1st year out of school and into college woohoo! My course is for one year and it is just based on programming... the languages i've chosen to do are C++ as my primary and Java as my secondary. My course has also included SQL …

Member Avatar for swaira umar
0
149
Member Avatar for Priya73

Hi all, Can anybody suggest to me a compelling reason to use any of the programming languages [C,C++ and Java]. Under what circumstances would you use one over the other. I am developing an application that will run on mobile device and for this I am wondering which one will …

Member Avatar for swaira umar
0
156

The End.