8,298 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
Do you have any links where I can find stuffs in making c++ class archive? thanx in advance | |
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 … | |
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 … ![]() | |
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> … ![]() | |
[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(); … | |
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) … | |
Hello there, does anyone know of any free beginner c++ videos on the net? . Thanks-:cheesy: | |
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 … | |
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 … | |
Is anyone here uses subversion to keep the C++ header and implementation files to the repository? I need your help... Pls reply.. Thank you... | |
Is there a way to open, say, cout, and edit it to your own personal use? | |
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 … | |
"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 … | |
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 … | |
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 … | |
how do I install the package concerning GUI in c++. I am using ubuntu 6.06. tnx. | |
just asking where could I get complete tutorials about c++ application making through the net.. Ur help is highly appreciated.. thanx... :?: | |
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 … | |
[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 … | |
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... | |
Do you think the C++ Programmer Primer is a good book and will teach me alot of information? | |
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 | |
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 … | |
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 | |
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. … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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(); … | |
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 … ![]() | |
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 | |
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. | |
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 … | |
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 … | |
Does anyone know of anyplace/anybody that teaches C# at the highschool or college level to get students used to a programming language? | |
[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, … | |
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 … | |
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 = … | |
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. | |
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. |
The End.