- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
37 Posted Topics
Re: [QUOTE=mattybennett;660156]Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. I know some VB and find Java difficult, also haven't used C# or C++ before, but hear that they are fast. [/QUOTE] Why are you tackling a big project if you haven't used … | |
Re: [QUOTE=grenadeh;659067]If you're going to be a jackass go ahead and refrain from using your keyboard, no one wants to read your insolence. He asked for help, not destructive criticism. Regardless, I have to agree that a fair amount of the time if you read the compiler message, you will generally … | |
I am a beginner in ASP.NET, have been reading ASP.NET 3.5 unleashed. I was wondering if there is a site or any cool exercises/projects that is good to do using ASP.NET so I can get more practice. I feel reading is not practical enough and doing the already done examples … | |
Re: [QUOTE] i got the program runing good enough .. thats what i think please feel free to tell me if you find any glitches or any improvements that i can make .. but the problem is this if some one enters account balance 0 than the account balance at end … | |
Hello, Im new in ASP.NET and have been reading about state management and have a couple of questions, it be great if someone could help me understand. Im having trouble understanding the use of ViewState. It is only limited to the current page, what kind of typical/common use would it … | |
Re: [QUOTE=ddanbe;786858]I use Visual Studio. It has about the coolest debugger you can get.[/QUOTE] I agree, VS has the greatest debugger. The UI is not bad also, also alot of customization to your liking. | |
Re: I believe you can google an article out there, there are many. Very brief info about them. When you create an object in the stack, the object will be deleted at end of the scope. When you create an object in the heap, it is in memory and will be … | |
Re: [QUOTE=lakshmi mani;779003]A University has decided to computerize its exam grading. They have a standard paper that contains 25 multiple choice questions each with four choices. All the answers by students are entered in a file. You are to read the file and calculate if the student passed or failed (60% … | |
Re: If you really like this site well enough you would read the rules. No code = no work = no help. | |
Re: When it comes to actual programming it is very easy. The main issue as sillyboy mentioned is understanding the concept of the game. Since you are a beginner try thinking what are the classes you need and what it should do. Once you accomplish that go through the program step … | |
Re: Think of the connect 4 as tic tac toe but different algorithm in finding the winner. 1-You would print the board 2-prompt player 1 for position on the board he wants 3-Let player 1 have 'X' and player 2 have 'O' or '1' or '2' or w/e character you want … | |
Re: Is relatively simple. You can output a 5x5 board and label each box as coordinates. Then you take turns asking for user input -- given at least 2 players play. 00 01 02 03 10 11 12 13 20 21 22 23 30 31 32 33 Say I want to … | |
| |
Re: [QUOTE]I am a newbie here and I haven't read anything--I know I should. Sorry in advance if I break any rules in this posting.[/QUOTE] If you knew you should, why didn't you? One of the rules is if you show no work = no help. | |
Re: [QUOTE]then enter however [B]many [/B]grades they want[/QUOTE] [QUOTE]float grades [5] = {4, 3, 2, 1, 0}; [/QUOTE] Perhaps you can prompt the user how many students and how many grades each student will they input so you know how much to allocate your arrays. [QUOTE]float Student::averagegpa() [/QUOTE] you know how … | |
Re: [QUOTE=Ancient Dragon;705571]I have seen sites that will write people's homework for $$$. But DaniWeb is not one of them :)[/QUOTE] Maybe it should ;) | |
Re: Threading is running multiple processes at once. or translated, a program doing multiple tasks at the same time. Because doing multiple things at the same time may affect certain things such as changing data. If Thread A is changing data and Thread B comes across and also wants to change … | |
Re: C++ Without Fear was my 1st C++ class textbook and C++ Primer. For a little intermediate try Scott Meyer books and Professional C++. Pretty helpful. | |
Re: I think about this too. I really want to experience work related programming and not school related. Ive found this to get a picture [URL="http://nytimes.vault.com/cb/content_main.jsp?cb_page=12&ht_type=1&name=A+Day+in+the+Life&parrefer=806"]http://nytimes.vault.com/cb/content_main.jsp?cb_page=12&ht_type=1&name=A+Day+in+the+Life&parrefer=806[/URL] This to be more exact [URL="http://nytimes.vault.com/cb/content_main.jsp?cb_page=3&article_id=28332068"]http://nytimes.vault.com/cb/content_main.jsp?cb_page=3&article_id=28332068[/URL] | |
Re: Classes are same as structs with the exception of default private and public. | |
Re: We'll start on it right away sir! | |
Re: You should have a separate function to sort the linked list. Selection sort should be fine, what didnt work out? Have a node call LowestNode and have equal to the head of the list and iterate comparing if its smaller then that node becomes the lowest and if it reaches … | |
Re: You can easily google STL vector information/documentation/library and learn from there. Here are some basic features. Vectors are similar to arrays but they are not fixed sizes, they can grow. When the vector is close to its capacity it will allocate more space automatically. There are functions to get element … | |
Re: An array can not be able to grow in size, it is fixed. | |
Re: int a = 10; a is an integer with value 10 int* b = &a; b is a pointer to an integer which points to the address of a int c = 4; c is an integer with value 4 int* d = &c; d is a pointer to an … | |
Hi, I am relatively new to C#.NET and I was wondering if the garbage collection is similar to Java. I am developing a windows form application and I am dynamically making new buttons, will they be deleted by themselves or will I manually need to delete them? For example: this … | |
Re: Basic difference is C++ is Object Oriented with classes and C is not. | |
Hello everyone, I am new to maps and I have a simple question. I have a map that stores a string as key and the data I want a map<int, int> so my syntax is map<string, map<int, int> test; What would be the syntax to insert say "hello" and say … | |
I am using Maps from the STL to insert a polynomial. The Key is the exponent and the data is the coefficent. Basically I want to add/subtract and multiply them. I have the addition/subtraction down but when it comes to multiplying I have to add the exponents and multiply the … | |
Re: SimpleCat :: SimpleCat(int age, int weight): itsAge(age), itsWeight(weight) {} It is defining Simple Cat's 2 parameter constructor. It is setting the age and weight. This is the more efficent method because if you define itsAge = age; itsWeight = weight; in the body of the construtor, you are basically calling … | |
Hello everyone, I have this project where I have to convert a declaration into English word. If it reads this line(assume no spaces are used) void*(*z) (char, int (*)()); my output would be. z is a pointer to a function that takes 2 parameters a char and a pointer to … | |
Hello everyone, I have a project which is to find the permuted index of each word in a textfile. Im restricted from using STL btw. I read in input.txt and have to output each word and corresponding line number and if it is found multiple times, it will have (numoftimes) … | |
Hello everyone, My project consists of reading 2 lines of integers separated by white spaces corresponding coefficents and exponents, each line representing a polynominal. I have to add both polynominals and subtract them. I have made a linked list class to hold each coefficent and exponent in a node. The … | |
Hello everyone, This program compiles fine and runs fine in Eclipse(C++ IDE) but when I compile it in UNIX and Visual Studio its fine but when I run it, it gives me an error. For Unix is segmentation fault The problem is when I initialize VNT, it calls Matrix and … | |
Hello everyone, I have a project to do which involves reading each line of text from an input file which holds integers. Each line represents a polynomial, and I have to rearrange it in canonical form which is sorted by powers. I was wondering if there is a string tokenizer … | |
Hello, I have a project that needs to implement a Safe Array which is an Array that has bounds checking. On top of that I need to create a "Matrix" class which implements 2D which is basically a Safe array within a Safe array. This is also templatized. The problem … | |
I need to make a program that asks the user for input 8 numbers and output the max and min value. The numbers has to be stored in an array in memory. Basically is going to be 2 loops, 1 to prompt the user for the 8 numbers and second … |
The End.