Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: can342man
Forum: C++ Apr 28th, 2006, 9:01 AM
Replies: 20
Views: 472
Posted By can342man
The code is just one part of a long calculation...

The code is just one part of a long calculation for the gravitational wave signal from a pulsar star. The mathematical functions are not that significant in this particular problem. It is mainly a...
Forum: C++ Apr 27th, 2006, 2:45 PM
Replies: 20
Views: 472
Posted By can342man
Hanging For loop in C++

Hi everyone,

I am just curious if anyone has come across why a for loop used in a number crunching scheme would hang when and not return the command prompt. No compilation errors and the conditions...
Forum: C++ Apr 21st, 2006, 7:39 AM
Replies: 2
Views: 159
Posted By can342man
NNxion That helped out a lot, I can't believe it...

NNxion

That helped out a lot, I can't believe it was that simple.

Thanks for your help.
Forum: C++ Apr 20th, 2006, 2:21 PM
Replies: 2
Views: 260
Posted By can342man
Arrays or Vectors?

I have seen a lot of debate on wheather to use arrays or vectors for passing arrays in functions. I have a simple program here that does not quite seem to work properly as what I intended. The goal...
Forum: C++ Apr 20th, 2006, 8:47 AM
Replies: 2
Views: 159
Posted By can342man
Array addition?

Hi everyone,

This maybe something very trivial, I am having trouble adding or multiplying elements of 2 or more arrays togethor. My original program is more complicted but this simple program may be...
Forum: C++ Mar 20th, 2006, 4:19 PM
Replies: 3
Views: 189
Posted By can342man
You can always try the GSL library...

You can always try the GSL library (/usr/include/gsl) in C/C++ for all types of built in functions.
Forum: C++ Mar 20th, 2006, 4:16 PM
Replies: 2
Views: 218
Posted By can342man
Data input

I just want to get some ideas on how to import numerical data from a file into a C++ program.

Is it easier to use cin >> into an array or the read/write I/O methods.

Also when importing the data...
Forum: C++ Mar 8th, 2006, 9:26 AM
Replies: 1
Views: 124
Posted By can342man
GSL C++ Complex numbers?

Hi,

I am wondering if anyone knows a good website on how to use the GSL library (other than the GNU website) in C++, mainly complex number functions.

Really appreciate it.

:banana:
Forum: C++ Jan 30th, 2006, 7:26 AM
Replies: 3
Views: 135
Posted By can342man
Thanks a lot "The Dark"!! That worked really...

Thanks a lot "The Dark"!!

That worked really well. Renaming the output file to (.csv) made a big difference.

Really appreciate it.
Forum: C++ Jan 29th, 2006, 12:19 PM
Replies: 3
Views: 135
Posted By can342man
Cool column output?

Hi everyone,

Really appreciate all the great help in the past. This might be something very simple but because I am new to C++, I don't know it.

If I wanted to print out a set of numerical data...
Forum: C++ Jan 28th, 2006, 5:10 PM
Replies: 14
Views: 420
Posted By can342man
Hey guys, Thanks a lot for your advice,...

Hey guys,

Thanks a lot for your advice, especially you HacKer, it was so simple to just place the ofstream components in the main() program and eliminate the function fileout(). It worked like a...
Forum: C++ Jan 27th, 2006, 4:27 PM
Replies: 14
Views: 420
Posted By can342man
Wink Simple output problem

Hi,

I have been struggling to understand why this simple program is generating the exact same number 100 times in the output.dat file. If I display the results on the screen (cout), the program...
Forum: C++ Jan 27th, 2006, 12:13 PM
Replies: 4
Views: 234
Posted By can342man
Thanks nnxion for the tip, putting in the for...

Thanks nnxion for the tip, putting in the for loop around the out statement works and prints out all the data into the output file.

However, there is a problem, all the data is identically the same...
Forum: C++ Jan 27th, 2006, 8:33 AM
Replies: 4
Views: 234
Posted By can342man
Smile Numerical data output to a file

Hi everyone,

I have written a MC numerical integration program for solving indefinite integrals. The problem I am facing is trying to dump the output of the numbers generated to a file so I can plot...
Forum: C Jan 26th, 2006, 4:14 PM
Replies: 4
Views: 226
Posted By can342man
Thank you. It worked like a charm.

Thank you.

It worked like a charm.
Forum: C Jan 26th, 2006, 1:28 PM
Replies: 4
Views: 226
Posted By can342man
Math functions

Hi everyone,

I have a problem regarding certain math functions in C/C++.

I am trying to use the sqrt() function in my program, but I get compilation errors, stating that the library has not been...
Showing results 1 to 16 of 16

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:31 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC