- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
62 Posted Topics
can you call a function inside that same function so that it goes to the beginning of that code to execute it. So even though ur already in the prompt function can u still call it again from withing the code inside the prompt function. Thanks in advance. | |
![]() | Re: I didn't quite understand what you meant in your description but it sounds awfully familiar especially the part about storing the number of occurences if I read right, like a counting sort which is a very quick sort but memory wise can get out of hand due to the array … |
Re: try simply creating a byte array or something and send it over using UDP to the client, that way you can tell if the problem is the way you are getting the image or if it is in the network code. Just break the problem up. Also it looked like … | |
Re: heres some documentation I found off google, hope this helps as I am no expert on this topic. [url]http://www.faqs.org/faqs/assembly-language/x86/general/part2/section-3.html[/url] [url]http://en.wikipedia.org/wiki/Asynchronous_I/O[/url] [url]http://en.wikipedia.org/wiki/Interrupt[/url] good luck. | |
Re: do you want to read in a whole list of customer information or is it only one customer that you are reading in, and are you looking for a specific customer in the file. Be specific about what you are doing in the file so we can help. | |
Re: no one is going to do your homework here, show what you have done and your thinking behind it and someone will guarantee point you in a better direction if you're still stuck. | |
Re: all of those things seem to be possible in java, if you are dealing with decimal numbers a lot in your financial calculations I suggest using BigDecimal (built-in to java) as the double in java can cause some really bad math errors. For set processing there may be built in … | |
Re: found a major mistake in my previous method so nvm. | |
I am curious as to how software developers solved the problem of having clients in a distributed computing network working on a particular problem have answers verified. I ll relate this to what I am doing. I am making a distributed client/server program which works to factor semiprimes using basic … | |
I am having a problem with my code which handles whether or not the client has disconnected this is the run method for each thread. The code gives me an error, something about the nested catch block not ever happening or something. I didn't understand. Thanks for any help. I … | |
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 info and everything. I tried getting jpcap but … | |
Re: it should be an iso image file, just burn that to a blank dvd for use. no need to unrar or unzip. | |
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 total file the same and not … | |
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 does software like superpi handle such a large number, im assuming its all split … | |
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 advance for any help. [CODE] X2 = 0.5; while … | |
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 encryption is based off of the person sending the info being able to get the other … | |
Re: 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. | |
Re: 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 OS, i once wrote a bootloader … | |
Re: 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. | |
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 value not the variable long atomID = 0; … | |
Re: 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 make a file in the local directory of your program … | |
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. | |
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 advance to any help. [code=cplusplus] #include <iostream> #include <fstream> #include <vector> using namespace std; int main() … | |
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> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >) (long int&)’| I am going to assume that this is something to do with trying to put the string in a different kind … | |
Re: You messed up your if statement and forgot the braces on the if and else statements, heres the fixed code, good luck. [code=cplusplus] #include <iostream> using namespace std; int main() { double payrate; double hours; double overtimehours; double overtimepay; double totalpay; cout << "How many hours did client work this … | |
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 help, thanks in advance. [code=cplusplus] #include <iostream> #include <math.h> using … | |
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 = 0 object's heading = 45 degrees object's distance travelled = … | |
I have been looking over and researching different versions of linux for my server that I am going to be making and I am not sure which one is the best for having a server or does it even matter. I also want one that will be very quick since … | |
Ok ive been working with bootstrappers and writing them in assembly for a little bit now and I can get it to work and understand how the bootsector works when it comes to hard disks and floppy disks but when dealing with flash memory like my USB flash drive im … | |
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 it is better programming to keep your variables as far from being global as … | |
Re: if u want a book that will make you understand a lot about C++ even if ur a beginner than get learn to program C++ with john smiley. U wont regret it. | |
How do I use AND OR and NOT in C++, because I need to use an and statement and I thought this was right but the compiler is flagging an error with it because I think it thinks it is a pointer reference thing. if (val1 > 16777215 & val1 … | |
Ok ive actually got a bootstrapper going and can display text using int10h using the BIOS interrupts but im wondering is this the only way to tell the computer what to do at the lowest level, by communicating with the BIOS service interrupts, how does windows and stuff do it. | |
Is it possible to control a network card using assembly without going through the OS, so you can have two computers communicate to each other over the internet but without winsock or any of that crap. | |
I think i am going to use mode 13h VGA graphics. But I have a few unanswered questions about it. 1) What does it mean by there are 4 planes, what are those planes, and why do they exist? 2) For an operating system, would the computer be turned into … | |
Is there some documentation that shows what all the different operations and stuff represent in hex or binary like mov = 10011101 or w.e it is its for 80386 architecure btw. thanks in advance. | |
are cpu's directly hardwired to no ascii and If i wrote my own Operating system does the cpu have a built in function that allows me to tell it an ascii number and it will draw it using a default font to the screen without windows help or anything?. | |
I am getting a windows error when I run my assembly program. It only happens when the user enters what is supposed to be entered, which in this case is the character 2. I am using FASM x86 architecture. [ICODE]include 'win32ax.inc' .data inchar DB ? numread DD ? inHandle DD … | |
I compiled this code in dev c++ and i got 0 warnings and 0 errors, so it was a clean compile and whenever i run the exe i get this error which says assembler.exe has encountered a problem and needs to close. And gives me the error report thingy for … | |
im writing my own assembler and the only thing that is going wrong is reading the input from the source file I dont no how to read one word at a time so if i have a statement like mov 25 3 it can read mov store it than 25 … | |
i am a little confused with something here. If I wanted to write a bootloader to load my kernel up and both the bootloader and the kernel are located on a floppy disk than do I have to format the floppy disk or something or have the two files a … | |
I was just wondering if a C++ compiler is taking the source code and creating a binary file out of it with a .exe extension on it or something or does it translate it to assembly first and than assemble it from there. If it is binary I have always … | |
I have recently begun working on 3d mathematics and I am pretty decent with matrices but I still dont see how having a 4x4 matrix can represent something for 3d graphics programming for a C++ program, could anyone explain this or give an example please. Thanks in advance | |
Could someone give me a detailed explanation or give me a resource that explains something like how if I created my own custom 3D model that had 8 vertices would that be the same as saying 8 polygons because I always here talk about things like game developing companies throw … | |
Ok so I am going to be switching to an ubuntu linux machine soon to do all of my coding and I was wondering if anyone has a reference to the function calls you can use with it because I am used to windows programming so now in my code … | |
Hello, I am working on a very simple bootloader for my 80386 AMD CPU in assembly, my assembler is NASM and I am wondering why this code is not working properly. When I boot from my floppy disk It says reading DMI pool data and than an error. Is it … | |
I would eventually like to get into writing my own very simple command line OS but I am looking for maybe somewhere to start. I know C++ but I am not an expert at it and I was wondering if someone could point me in the right direction to getting … | |
If you were creating a graphic design drawing program for creating small images like 32x32 pixels but the windows was like 600x400. How would you create it so it could have more of a zoomed in vision of the 32x32 image so you could draw on it pixel by pixel … |
The End.