Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
64% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
3 Commented Posts
2 Endorsements
Ranked #622
~2K People Reached
Favorite Forums

10 Posted Topics

Member Avatar for SoulReaper1680

Hey, when I run the following code: [CODE]for(double i = 3; i >= 0; i -= 0.2) { cout << i << " "; }[/CODE] I get the output "3 2.8 2.6 2.4 2.2 2 1.8 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2". For some reason, it doesn't output …

0
101
Member Avatar for SoulReaper1680

Hey, I have four labels in a form: label1, label2, label3, and label4. Now, if this was VB.NET, I would have used the following code to change their contents without having to type the code for each one separately: [CODE]For I = 1 To 4 Me.Controls("label" & I).Text = "Some …

Member Avatar for SoulReaper1680
0
403
Member Avatar for Felipevd

You can make an array of char like Expression(63). Then check if any of the characters in the array is / by using a for loop. If it finds /, it should stores its location in a variable. So for [5 + 16 + 7 * 14 / 28] it …

Member Avatar for Felipevd
0
112
Member Avatar for Brianbc
Member Avatar for Brianbc
0
92
Member Avatar for linova

Is this what you want: [CODE]#include <iostream> using namespace std; double percentage (int count_letter, int count) { double percentage, calc_a (count_letter), calc_b (count); percentage = calc_a / calc_b; percentage = percentage * 100; return percentage; } int main () { char text [2048], alphabet; int count_letter_total (0), count_letter_individual [26] = …

Member Avatar for linova
0
218
Member Avatar for redzbor

Do you mean that if you have the string "time" you want "eimt" as the output? What you could do is store your string in an array of char, and apply bubble or shuttle sort on it. You'll need to compare two consecutive elements (characters) and check whether the 2nd …

Member Avatar for SoulReaper1680
0
139
Member Avatar for SoulReaper1680

Hey, I was trying to make a program which displays two chars A and B on the screen. Using the WASD keys, it lets you move the A char around and using the arrow keys it lets you move the B char around. I wrote the following: [CODE]Module Module1 Dim …

Member Avatar for SoulReaper1680
0
176
Member Avatar for SoulReaper1680

Hey, I was just wondering whether it is possible to do multiple tasks in a console application at the same time. Like lets say if a program reads user's input and displays output at the same time, can the program carry on displaying output while it waits for user's input …

Member Avatar for SoulReaper1680
0
183
Member Avatar for SoulReaper1680

Hey, whenever I compile the code below the program compiles and runs but after a while I get the following error: System.IndexOutOfRangeException was unhandled Index was outside the bounds of the array. Also, when compiling I get the following: A first chance exception of type 'System.IndexOutOfRangeException' occurred in array_mult.exe The …

Member Avatar for AndreRet
0
171
Member Avatar for SoulReaper1680

Salutations! Would anyone be kind enough to provide a general overiew as to what exactly is OpenGL. I searched the internet however, most of the material I came across didn't quite clearly state the different between OpenGL and GLUT. Also, what is SDL? I am quite familiar with C++ however …

Member Avatar for SoulReaper1680
0
131

The End.