8,298 Topics

Member Avatar for
Member Avatar for pockafella

hey I was wondering if any of you had an idea for this program I need to write for extra credit in my class. It involves using a rational class which is what Im having trouble writing, I understand if no one wants to take a shot at it, any …

Member Avatar for Narue
0
98
Member Avatar for ◄Medusa►

I am thinking about a landscape generation program, ie building a model from a 2D contour map or something similar. Would C++ be the best language for this or is there a more suitable language to use? P.S I am a novice to programming and so far only have experience …

Member Avatar for John A
0
81
Member Avatar for kmachstang

Hi guys, I need some help with file input output. I have a file that has a array size on the first line followed by a 2d array. The array size can change. I need to read this file, and place the array in a array variable. But im not …

Member Avatar for vijayan121
0
249
Member Avatar for Shad0wHawk

I am writing a simple (extremely simple) hangman program. Basically the user inputs a word, then they have double the number of letters in the word for guesses (for instance if the word has 7 letters they get 14 guesses). Please don't ask why I want the user to input …

Member Avatar for Shad0wHawk
0
350
Member Avatar for andrewking

Hi, I want to know about C++, How do I declare a constant (like C++ const) in Java(tm) and how do I declare enums (like C enum) in Java(tm).if any one knows about this reply me Thanks in advance

Member Avatar for Sturm
0
91
Member Avatar for kohilaengineer

I want one datagrid with checkbox column. I use Windows Forms C# .net 2003. Then i want 3 columns from one data table and one checkbox column extra. Plz help me.

0
54
Member Avatar for ReeciePoo

Hello i was wondering if there is any tutorials or help files out there about windows applications features (e.g buttons combo boxes, checkboxes, so on and so forth) Any help would be cool Cheers

Member Avatar for ReeciePoo
0
112
Member Avatar for squinx22

Do you have any links where I can find stuffs in making c++ class archive? thanx in advance

Member Avatar for vijayan121
0
90
Member Avatar for addicted

hey, i read that in C++ some programmers consider using break and continue statements as a violation of structured programming practise....... and usually avooid using them except in switch statements..., i will like to know how to use the structured equivalent of these statements..... i want to know the statement …

Member Avatar for Narue
0
161
Member Avatar for aberlynn

hi folks - i'm quite new to c++ and have written a program where i have used a linked list to simulate 3 printers working in a queue according to their priority. After much blood, sweat and tears I got that bit working. Now I'm onto the second "easy" bit...I …

Member Avatar for iamthwee
0
117
Member Avatar for scarface3288

Hi every one I have a big problem, I need help with creating a program which reads every third word in a text file and excludes puncuation like -,?.!'" etc.. so far none of my work need code or suggestions just plain help(newb) [code] #include <iostream> #include <fstream> #include <string> …

Member Avatar for iamthwee
0
4K
Member Avatar for fightfox06

[code=c] #include<stdio.h> #include<string.h> #include<stdlib.h> #define MAX 20 //struct team_info typedef struct { char team[16]; int played; int won; int drawn; int lost; int goalsf; int goalsa; int goald; int points; int ID; }team_info; team_info arrdetails[12]; int print_header(); void draw_table (); int take_team_input(); int take_team_name(); int save_table(); int read_table(); int sort_table(); …

Member Avatar for thekashyap
0
157
Member Avatar for adam37

Hi All, I have a question about the following C++ program: How does the C++ program know which of the sqr functions to use in this program? [code] #include <iostream.h> // This program illustrate the use of Function overloading int sqr(int x); float sqr(float x); double sqr(double x); int main(void) …

Member Avatar for thekashyap
0
121
Member Avatar for revenge2

Hello there, does anyone know of any free beginner c++ videos on the net? . Thanks-:cheesy:

Member Avatar for qwertydid
0
85
Member Avatar for machspud

I was assigned to create a program that lets the user enter the total rainfall for each of the 12 months, into an array of doubles. Then it needed to calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and …

Member Avatar for WaltP
0
2K
Member Avatar for addicted

hey, i just read about passing arrays to functions in C++ like this function modifyArray(arrayname, arraysize); i need help with sending an array and another variable to a function... since the array size is an integer and the second integer is also going to be in the argument... i dont …

Member Avatar for addicted
0
116
Member Avatar for squinx22

Is anyone here uses subversion to keep the C++ header and implementation files to the repository? I need your help... Pls reply.. Thank you...

Member Avatar for jwenting
0
118
Member Avatar for linux
Member Avatar for Nick Evan
0
105
Member Avatar for bmgee13

I am new to C++ and programming in general, and am working on an upcoming homework assignment. I have run into several problems and would greatly appreciate assistance. The assignment is to write a code to determine area and volume in C++, using a While Loop. I am stuck with …

Member Avatar for ~s.o.s~
0
142
Member Avatar for xexex

"Write a program that has an array of at least 20 integers. It should call a function that uses the linear search algoritm to locate one of the values. The function should keep a count of the number of comparisons it makes until it finds the value. The program then …

Member Avatar for flexeblesteel
1
292
Member Avatar for shycode

Hello; I am doing a practice problem to write a program that allows a user to enter a number between 1 and 999. The code MUST be cutoff at 999 and no other numbers past that should work. I have developed a code, but it allows the user to enter …

Member Avatar for Salem
0
89
Member Avatar for Menuhin

Hi, I have a file in the format of: First-Name Last-Name StudentNumber Grade1 Grade2 Grade3 Any student may up to 10 grades, and I want to read the information from the text file into a vector. My question is, how can I read the file into the vector so that …

Member Avatar for John A
0
84
Member Avatar for squinx22
Member Avatar for Ancient Dragon
0
29
Member Avatar for squinx22

just asking where could I get complete tutorials about c++ application making through the net.. Ur help is highly appreciated.. thanx... :?:

Member Avatar for John A
0
76
Member Avatar for maher123

can any 1 of make a program in which there is a calendar which can go on the day, show the day, calculate the day,save the notes on the particular day PLZZZ. USE THE FOLLOWING FOR loop; if then; switches; array 1D ARRAY 2D ARRAY 3D STRING AND ALSO TRY …

Member Avatar for John A
0
51
Member Avatar for kpack08

[COLOR=#555555]Hi I was assigned a project in my C++ class. the project is to write a program using arrays. I have to write it for a plane that has 15 seats. Seat 1 to 7 is first class and seat 8 to 15 is economy. The program should be able …

Member Avatar for ~s.o.s~
0
165
Member Avatar for squinx22

how could I connect the saved implementations in subversion to the main/test program outside the subversion? I want to use the saved file in the subversion as a library so that i could use it in any programs... tnx in advance...

Member Avatar for thekashyap
0
115
Member Avatar for Tauren

Do you think the C++ Programmer Primer is a good book and will teach me alot of information?

Member Avatar for John A
0
87
Member Avatar for Gourav Nayyar

hi i want to save a query design by me to Ms Access in Query tab by C# coding . what i have to do , pl'z do it fast

Member Avatar for Gourav Nayyar
0
35
Member Avatar for Brent.tc

For any of you who have posted at my previous questions [COLOR=darkorange](this is mainly directed towards Ancient Dragon) [/COLOR][COLOR=black]you know that I have a tendancy to ask about things I have nearly no knowledge of.[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]This time is no different, I wish to know how to send a string …

Member Avatar for ~s.o.s~
0
96
Member Avatar for ChimpusDupus

Hi, Is it possible to use the System.Drawing.Graphics methods without having to put code in the control's Paint event? If so, how? -James

Member Avatar for mkbmain
0
112
Member Avatar for winbatch

Is there a way using file handling functions to search within a text file to find the position of certain text WITHOUT having to read each character/line and evaluating it? For example, let's say I have a file of 'messages', where a message has a distinct start and end characters. …

Member Avatar for vijayan121
0
365
Member Avatar for vegaseat

Did you know C# has its own scripting language based on Lisp, here is an example ... [code];;; Scripting a 'C#'' GUI with Lsharp, free from [URL="http://www.lsharp.org"]www.lsharp.org[/URL] (reference "System.Windows.Forms") (reference "System.Drawing") (using "System.Drawing") (using "System.Windows.Forms") ;; Create a form (= form (new System.Windows.Forms.Form)) (set_text form "Hello from Lsharp") ;; Create …

0
69
Member Avatar for tygerberg

Hi I need help finding a gui library for c/c++, I'm tired of using DOS. I also want to get started in network programming. I want to create a server-client program that will enable me to send text over a network or from a mobile phone to a pc. If …

Member Avatar for Ancient Dragon
0
110
Member Avatar for Tauren

[code=c]cout << "\nYou trade your sword for a battle axe."; inventory[0] = "battle axe"; cout << "\nYour items:\n"; for (int i = 0; i < numItems; ++i) cout << inventory[i] << endl; [/code] Uhh well the question is that I really dont get the ++i Why would you use the …

Member Avatar for WaltP
0
132
Member Avatar for pc0019

Hi I've just picked up a copy of SAMS teach yourself C in 21 days (I dont think Ill finish it that quickly) because I wanted to get into programming. I've worked through the first chapter, but keep enountering a problem: my programs exit before I can see what they …

Member Avatar for pc0019
0
131
Member Avatar for viraltaj

Hello friends, This is my first post on this forum. I just came here to learn a bi t of C++. I have developed an operating system called TAJ in C++. Its an object oriented operating system. It is multitasking, multithreading and multiuser operating system. This is its link: <snipped …

Member Avatar for jan1024188
0
160
Member Avatar for amitabhwankhede

Hi All, I have an application where user can export the results of search action to an excel file so he can locally store it.. I have done this with very simple code which is [code] Response.ContentType = "application/vnd.ms-excel"; Response.AppendHeader("content-disposition", "attachment; filename=StackRanking.xls"); Response.Charset = ""; System.IO.StringWriter sw = new System.IO.StringWriter(); …

0
67
Member Avatar for i m gr8

Hello, I am university student and currently we are being thaught C++ and are studying Object Oriented Programming. Since last few weeks what ever assignment I get , My program always end up with thread stop error while runtime and I cant find the reason. I have to currently submit …

Member Avatar for iamthwee
0
484
Member Avatar for techie82

Hello all I'm a fresher to Microcontroller programming. I have defined certain global variables that I need to store at consecutive memory locations, say starting from 0x8000h . Will appreciate if anyone can give me the syntax / instructions to go about the same. thanks techie

Member Avatar for Infarction
0
115
Member Avatar for maverick786

I would like to write a program that creates a relational database that handles queries using only C++. What would be the most appropriate method? Using arrays, linked lists or something else? Please advise.

Member Avatar for maverick786
0
214
Member Avatar for lotsofsloths

OK, i am using Microsoft Visual C++ 2005 Express Edition, and am using the Window Applications part of it (compared to using Command Prompt to display programs) Now, as for the program, i am making a password machine that tells users to enter a username and password, my program will …

Member Avatar for lotsofsloths
0
132
Member Avatar for SHWOO

I am writing a class character for an assignment. The class relates to a role playing game. I am getting an error which I don't understand. This error occurs in the default constructor of the implementation file. The dynamic help says that I created an object without creating a pointer …

Member Avatar for vijayan121
0
147
Member Avatar for Lardmeister

Does anyone know of anyplace/anybody that teaches C# at the highschool or college level to get students used to a programming language?

Member Avatar for pygmalion
0
101
Member Avatar for kenjutsuka

[code] void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255]) { int count; char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; cout << "Enter item's name: "; cin >> itemnames1[itemcount1]; for (count = 0; count < 5; count++) { cout << "Enter " << days[count] << " sales: "; cin >> itemsales1[itemcount1][count]; } return(itemsales1, …

Member Avatar for kenjutsuka
0
94
Member Avatar for yaya_star

i need a code, that generate a 100 array of size (10) and 100 array of size of(50), and 100 array of size of(100), and 100 array of size of(200),with random numbers, then for the 1oo array of size(10), in log file then for each array of the 100 array …

Member Avatar for jan1024188
0
262
Member Avatar for Praetorian

My prof. gave us this class project to do and we had to more or less fill in the blanks. So here is what i have for my code and it works up to the point where it asks you if you want to go first or not. So weather …

Member Avatar for Praetorian
0
387
Member Avatar for SHWOO

Can anyone explain why I am not getting any output from this code [code] int _tmain() { String *sym[] = {S"BA", S"CA", S"MS"}; int shares __gc[] = {25, 100, 30}, price __gc[] = {25, 31, 37}; Random *randomCurVal = new Random(); int purVal, curVal; int totalPurVal = 0, totalCurVal = …

0
80
Member Avatar for Hellodear

Hi, I am a newb in C#. I want to make programming in C#. What is the pre requisites? Somebody told me that we need to download Microsoft framework SDK and install it on OS. Is it all for us in this case? Hope somebody would respond, Hellodear.

Member Avatar for Lardmeister
0
137
Member Avatar for guy40az

I have a general question about compilers, I just want to know the opinions of people that have been using them for a while. I want to know what is your favorite one (the name and version) and why you like it the best.

Member Avatar for WaltP
0
140

The End.