Search Results

Showing results 1 to 40 of 158
Search took 0.02 seconds.
Search: Posts Made By: cam875
Forum: Java Aug 1st, 2009
Replies: 1
Views: 165
Posted By cam875
I have learned how to work with TCP and UDP connections with the Java standard API but now I am trying to see how to create raw packets to send on a network with Java so that I can create the header...
Forum: Windows Vista and Windows 7 Jun 23rd, 2009
Replies: 3
Views: 1,047
Posted By cam875
it should be an iso image file, just burn that to a blank dvd for use. no need to unrar or unzip.
Forum: C++ May 4th, 2009
Replies: 2
Views: 179
Posted By cam875
lets say I have a 1000 byte file and bytes 900-1000 are filled with data and I want to write to bytes 400-500, so I do that but everytime I do it resets the file size to 500 bytes killing the data...
Forum: C++ May 4th, 2009
Replies: 2
Views: 179
Posted By cam875
I am trying to take a a file of fixed size and use seekp to jump to a particular spot in the file, write around 100 bytes or so but only to that part of the file while still keeping the size of the...
Forum: C++ Apr 11th, 2009
Replies: 2
Solved: long doubles
Views: 272
Posted By cam875
yeah that apfloat thing looks nice, thanks man.
Forum: C++ Apr 10th, 2009
Replies: 2
Solved: long doubles
Views: 272
Posted By cam875
Is this the best datatype to use for doing calculations for extremely large numbers such as computing pi . Or am I going to need to create my own algorithm for handling extremely large numbers? how...
Forum: C++ Apr 10th, 2009
Replies: 5
Views: 291
Posted By cam875
Fixed it, Thanks for the help guys.
Forum: C++ Apr 10th, 2009
Replies: 5
Views: 291
Posted By cam875
Im having a problem with the while loop in my code, if I change what X2 is being compared to to anything other than 0 it doesnt hit the while loop, I am hoping its just some weird mistake. Thanks in...
Forum: Computer Science Apr 7th, 2009
Replies: 2
Views: 458
Posted By cam875
so in the end there has to be somekind of verification and exchange that is safe before the public key can be used. Thanks for the info.
Forum: Computer Science Apr 6th, 2009
Replies: 2
Views: 458
Posted By cam875
I have been reading about public key encryption for the past day or2 and got thinking about something, and am hoping someone here can offer some insight. anyways here it goes

Since public key...
Forum: C++ Jan 5th, 2009
Replies: 11
Views: 621
Posted By cam875
just take a look at box2d.org because thats a 2d rigid body physics engine and thats not all the math required for even just a 2d game nevermind a 3d game.
Forum: C++ Jan 3rd, 2009
Replies: 11
Views: 1,067
Posted By cam875
alright thanks for the advice ill continue on with that.
Forum: C++ Jan 3rd, 2009
Replies: 11
Views: 1,067
Posted By cam875
thats what I have been doing, I was just looking to do it with objects from structs but it doesnt matter anymore.
Forum: Assembly Jan 3rd, 2009
Replies: 9
Views: 2,223
Posted By cam875
ok so just write a bootloader, which is the first thing an OS does is run the bootloader. And write it to the first sector on a clean hard drive or floppy disk and boot from that. You just need an...
Forum: C++ Jan 2nd, 2009
Replies: 7
Views: 396
Posted By cam875
yeah just make sure you structure your database file accordingly to how your program reads it.
Forum: Assembly Jan 2nd, 2009
Replies: 9
Views: 2,223
Posted By cam875
do you have an OS for this Z80 pc, because if you dont than your going to be able to use your flat binary file that was created from your compile to be run. You dont need an exe file if there is no...
Forum: C++ Jan 2nd, 2009
Replies: 11
Views: 1,067
Posted By cam875
can the name possibly be a number or something, it has to be something that I can increment by 1 or something before I make another atom object, and yes I have used pointers like once or twice but...
Forum: C++ Jan 2nd, 2009
Replies: 11
Views: 1,067
Posted By cam875
I have it working with a bunch of vectors but I wanted to see if you can do it with objects from structs, im inexperienced with objects so I want to know how can you have the name of the object...
Forum: C++ Jan 2nd, 2009
Replies: 7
Views: 396
Posted By cam875
you could setup a little database which would just be a file and have the program open up the file and search it for the name, ahh what the heck ill show you what i mean, heres the code.

first...
Forum: C++ Jan 2nd, 2009
Replies: 11
Views: 1,067
Posted By cam875
I am trying to figure out for my physics simulator how to give my object name a variable or something, ill show an example and the compiler flags it an error but all i am trying to do is pass it the...
Forum: C++ Jan 1st, 2009
Replies: 2
Views: 1,484
Posted By cam875
yeah gcc is for c and g++ for c++
Forum: C++ Jan 1st, 2009
Replies: 1
Views: 373
Posted By cam875
how do i make it so that functions and procedures that are located in other files in the include statement have access to the global variables within main.cpp, thanks in advance.
Forum: C++ Dec 31st, 2008
Replies: 2
Views: 318
Posted By cam875
ok that worked, wow thanks i feel like a complete noob, its my dumb VB6 class practices catching up with me lol.
Forum: C++ Dec 31st, 2008
Replies: 2
Views: 318
Posted By cam875
When i compile this code i get an error which states

main.cpp|38|error: no match for call to ‘(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,...
Forum: C++ Dec 30th, 2008
Replies: 9
Views: 555
Posted By cam875
yeah didn't realize it was that integer thing, thanks man.
Forum: C++ Dec 30th, 2008
Replies: 9
Views: 555
Posted By cam875
that did absolutely nothing, but thanks for trying. I think the problem is that its not getting to the code for some reason maybe the while loop or something? i dunno but chris you prolly hit the...
Forum: Assembly Dec 30th, 2008
Replies: 4
Views: 1,209
Posted By cam875
what kind of assembly is it? if its x86 i got a good link to a free pdf download of an awesome intro to x86 assembly for you.
Forum: C++ Dec 30th, 2008
Replies: 9
Views: 555
Posted By cam875
nah thanks but that didnt work
Forum: C++ Dec 30th, 2008
Replies: 9
Views: 555
Posted By cam875
this is a really strange one since it doesn't make sense why the program just starts running then shuts down without executing the system("PAUSE") at the end.

here is the source code, thanks in...
Forum: C++ Nov 23rd, 2008
Replies: 3
Views: 359
Posted By cam875
that didnt help.
Forum: C++ Nov 23rd, 2008
Replies: 3
Views: 434
Posted By cam875
You messed up your if statement and forgot the braces on the if and else statements, heres the fixed code, good luck.


#include <iostream>
using namespace std;

int main()
{
double payrate;...
Forum: C++ Nov 23rd, 2008
Replies: 3
Views: 359
Posted By cam875
i wrote some code which only works with objects with a heading of 0 degrees right now because its not finished but when i run it it never seems to catch the collision and break the loop. I need some...
Forum: C++ Nov 23rd, 2008
Replies: 5
Views: 423
Posted By cam875
oh ok thanks
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 423
Posted By cam875
Ok here is the new code, and this math works when i follow it exactly with a calculator i get (0.707, 0.707) with the previously entered values in my first post. But in the program i get like .502...
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 423
Posted By cam875
yeah i realize the math is wrong and im changing that but the program still doesnt work
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 423
Posted By cam875
I am having a problem with the results that I am getting when I run my program, according to the math i wrote in the program when I enter these results

object's x co-ord = 0
object's y cor-ord =...
Forum: C++ Oct 30th, 2008
Replies: 9
Views: 960
Posted By cam875
so your saying that if you have data as globals another separate program is allowed to manipulate that data easier? I thought it didnt matter where it was in RAM?
Forum: C++ Oct 30th, 2008
Replies: 9
Views: 960
Posted By cam875
If you have multiple If statements happening to check the logic on something is it better to just use all else if's to make your code execute faster?

and I understand that people always say that...
Forum: C++ Oct 27th, 2008
Replies: 15
Solved: And or not
Views: 975
Posted By cam875
ok thanks for ur help
Forum: C++ Oct 26th, 2008
Replies: 15
Solved: And or not
Views: 975
Posted By cam875
is that a reference to the start of my vector?
Showing results 1 to 40 of 158

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC