Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~1K People Reached
Favorite Tags

8 Posted Topics

Member Avatar for Manas Kumar Sen

This is what I use, it pauses right before exiting, it's pretty much the same as getchar(), only difference that pressing any key works to exit, where if you use getchar() you have to hit return (enter) to exit system("PAUSE"); return EXIT_SUCCESS; Cheers, Waldis

Member Avatar for Anonymusius
0
69
Member Avatar for waldis

Hi, Once I had a similar problem when I tried to read a binary file on a pc and I failed, but I was able to read it in Linux (there were actually different versions of the file), so I figured it's a corrupted file, thou the hex dump looked …

Member Avatar for waldis
0
96
Member Avatar for waldis

I'm having difficulties to get the buffer read 10 numbers from a file, then after it's empty read next 10 numbers, and so on till eof is reached. The input file contains several lines of data, with a single integer value on each line. Here is my code (I have …

Member Avatar for waldis
1
127
Member Avatar for waldis

Hi, I'm trying to get the threads synchronized, but the output I get is still wrong: Expected sum: 20000000 Actual sum: 10000000 Do I use synchronized wrong, or do I put it in a wrong place? [code] class TestThread extends Thread { public void run() { for (int i = …

Member Avatar for waldis
0
124
Member Avatar for waldis

We were given a heap sort in a pseudocode: [CODE] ******* HEAP SORT ******* sift(A, l, r) ------------- f <- l s <- 2 * l temp <- A[f] found <- false while not found and s <= r if s < r and A[s-1] < A[s] then s <- …

Member Avatar for iamthwee
0
141
Member Avatar for indianscorpion2

Try this: Open your PC, take our your sound card out and look for the card identifiers (like model number, manufacturer, etc.) go to google, type it in, and search for drivers, you should find it. If the sound is built on board, make sure you install inf files (chipset …

Member Avatar for indianscorpion2
0
95
Member Avatar for waldis

Could anyone look at this and tell me if I got it right? I had to rewrite the following code without GOTOs: [CODE]Y: A B if a GOTO X C if b GOTO Y X: D[/CODE] Here is my solution (I added an additional flag to get it done): [CODE]i=TRUE …

Member Avatar for waldis
0
107
Member Avatar for waldis

Hi, could someone to direct me the right way with this? Here is the problem, which I think I have nailed: before: [CODE] A if c then goto X B if d then goto Y C X: D E Y: F[/CODE] after (in pseudocode): [CODE]A if c then D E …

Member Avatar for waldis
0
263