Forum: C++ 26 Days Ago |
| Replies: 1 Views: 246 Hi guys:
The following code is supposed to the following:
1 - Receive a random number and divide the number by 1000
2 - Then it needs to check if the number is greater than the series number and... |
Forum: C++ 29 Days Ago |
| Replies: 1 Views: 352 Hi:
I posted yesterday about setting my loop to get random number between the values I desire. Now I got a bit of misunderstanding with my arrays. In the program now I am trying to calculate the... |
Forum: C++ 30 Days Ago |
| Replies: 10 Views: 655 Afternoon:
I am trying to create a loop to give me a series of random numbers. I need the random numbers to be between 100 and 999, this is necessary so I can divide the numbers by 1000 and then... |
Forum: C++ Sep 26th, 2009 |
| Replies: 3 Views: 245 Thanks for the help. I understand were was my mistake setting it up. I have another query though, I set up my code to take both columns but how can I get my code to do the calculations for each row.... |
Forum: C++ Sep 26th, 2009 |
| Replies: 3 Views: 245 Hi:
I never set up a 2D array in the past and I am trying to do it now. I have a program that reads a 1 line text file and after reading it makes some calculations. After this I made some changes... |
Forum: C++ Sep 25th, 2009 |
| Replies: 1 Views: 268 Hi:
I am trying to create a loop for a code. My loop is supposed to find all the combinations using the numbers 1 and 0 depending on the length of my string. For example if I set up my string to... |
Forum: C++ Sep 2nd, 2009 |
| Replies: 2 Views: 318 Sorry about that, I am a rookie in to the system and you are right. Apologize.
G |
Forum: C++ Sep 2nd, 2009 |
| Replies: 2 Views: 318 Hello everyone:
As I stated previously I am learning my C++ on the run because is required for one of my classes and well any help I can get is appreciated. I created a code to read a .txt file... |
Forum: Java Aug 27th, 2009 |
| Replies: 4 Views: 513 Thank you I just wanted to be certain that is what I had to do. |
Forum: Java Aug 27th, 2009 |
| Replies: 4 Views: 513 Thanks for the reply. I will read on the String class but I wanted to make sure i was understood. I am able to draw my graph but what I am not able to is to draw an x-axis and a y-axis to show the... |
Forum: Java Aug 27th, 2009 |
| Replies: 1 Views: 312 Hi all, I am trying to learn my Java, and I am using my terminal in my mac to run my Java code. It compiles but when I run it I get the following error message:
-bash-3.00$ java Bifurcationlo... |
Forum: C++ Aug 27th, 2009 |
| Replies: 7 Views: 358 I guess now I will need to learn wxWidgets. Thanks for the reply I'll go through your code and see what I can do. |
Forum: C++ Aug 27th, 2009 |
| Replies: 7 Views: 358 Sorry about that, but yes it is the chaos theory. And yes what I am looking to plot is a scatter plot. |
Forum: C++ Aug 27th, 2009 |
| Replies: 7 Views: 358 My professor recommended learning GNU. Is there any connection between GNU and C++ or am I just jumping to the wrong conclussion here ? |
Forum: C++ Aug 27th, 2009 |
| Replies: 7 Views: 358 Hey:
I am kinda new to C++. I created this code to display the edge of chaos. Now my professor wants me to graph it in a coordinate system. I know I could use excel and plot it there but I want to... |
Forum: Java Aug 27th, 2009 |
| Replies: 4 Views: 513 Hi everyone:
I ahve this program to plot a graph using x and y coordinates. I cna plot the graph but I will also like to plot the x and y vlaues and name the xx and y coordinates. Anyone can help... |
Forum: Java Feb 15th, 2008 |
| Replies: 1 Views: 986 Greeting friends
I have intermediate knowledge in Java but I have never been to keen whe it comes to GUI. I been ask at work to learn more about GUI's, my question is, Does anyone knows any good... |
Forum: C++ Feb 14th, 2008 |
| Replies: 2 Views: 470 |
Forum: C++ Feb 14th, 2008 |
| Replies: 2 Views: 470 Hello
Well I have this coding and I thought I set it up ok to catch this simple exception, but as of right now, the program continues to run after the exception happens and its not even catching... |
Forum: C++ Feb 14th, 2008 |
| Replies: 3 Views: 6,549 Thank you guys. Both explanations make so much sense and actually now what it actually is, and also how to use it better. Awesome. |
Forum: C++ Feb 13th, 2008 |
| Replies: 3 Views: 6,549 Hello guys:
I am certain if I was not trying slef-teaching C++, that this question would have been answer before. What is the use of using namespace std; ? I am not certain, I just know that... |
Forum: C++ Feb 8th, 2008 |
| Replies: 6 Views: 4,027 Here is the class definition
class CSalesRegion
{
private:
char *m_psSalesPerson;
char *m_psRegion;
static short m_nObjectCount;
public:
CSalesRegion(); |
Forum: C++ Feb 8th, 2008 |
| Replies: 6 Views: 4,027 Hello guys
You rookie here. been trying to run a code but I am getting this weird error that I have not seen before. I have attached a copy of the error and the part of the code it refers to. ... |
Forum: C++ Feb 7th, 2008 |
| Replies: 1 Views: 3,733 Greetings
I just installed Virtual and I am trying to learn from it.. I was running a program which I believe to have no problems in the coding. My question is the following.. When I try to... |
Forum: C++ Feb 6th, 2008 |
| Replies: 6 Views: 894 Sorry I just realized where I was wring, I forgot to add the data needed for OurTimeIs to work. Thank you for your help
GCard |
Forum: C++ Feb 6th, 2008 |
| Replies: 6 Views: 894 Ok I downloaded Visual. I understand now what you meant by return value. If uses as a void I still get an error
Compiling...
times.cpp
.\times.cpp(78) : error C3867: 'CClock::OurTimeIs':... |
Forum: C++ Feb 6th, 2008 |
| Replies: 6 Views: 894 I am compiling with Dev C++ since is the only program I could get for free. But when I compile it it runs fine and it doesn't even give me any warnings, then I still don't understand why the... |
Forum: C++ Feb 6th, 2008 |
| Replies: 6 Views: 894 Hello guys, how are all you doinbg ? Well I just created this program to cound 24 hours. The
program runs fine but my only problem is when I ran the programs i get the following
0:0:0... |
Forum: C++ Jan 31st, 2008 |
| Replies: 4 Views: 5,333 Talk bout nitty gritty. It will take me some reading to get ti but it seems pretty straight forward |
Forum: C++ Jan 31st, 2008 |
| Replies: 4 Views: 5,333 Hey guys
I know I have posted this type of question before but I want to get to the nitty-gritty of this. I have the following program that sorts ten numbers enter by the user. The program work... |
Forum: C++ Jan 30th, 2008 |
| Replies: 2 Views: 550 Greeting guys
Rookie here again. By the way, thanks for all the help. Anyway to business. I am trying to compile a program to understand how to handle exceptions using inheritance. I have... |
Forum: C++ Jan 30th, 2008 |
| Replies: 4 Views: 757 I have this simple program. I created a file called input.txt containing a list of names and I want to read from it. I have two versions of the program. The first one only gives me the first letter... |
Forum: C++ Jan 29th, 2008 |
| Replies: 5 Views: 1,840 Thank you, this did the trick. What is te difference on using
cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n') ;
to use
cin.ignore(); |
Forum: C++ Jan 29th, 2008 |
| Replies: 5 Views: 1,840 |
Forum: C++ Jan 29th, 2008 |
| Replies: 5 Views: 1,840 I have this program. It is an example from a book. I am using Dev-C++ and my program just runs and close and I cannot see results. I have two questions
1 - Is the try/catch block ok, becuase it... |
Forum: C++ Jan 29th, 2008 |
| Replies: 4 Views: 593 But it does not appear to be appending to my program, why is that ? |
Forum: C++ Jan 25th, 2008 |
| Replies: 4 Views: 593 I have the following program and it works but when i try to append to the file, it will not do it. Can anyone help,
Thank you
GCard
#include <fstream>
#include <iostream>
using namespace... |