User Profile
Collapse
-
Or also reinstall your old drivers, that helps with some problems. -
-
oops sorry I got confused between them I havent used them in a while.
besides i usually do sprintf with a buffer to convert the two but most people find that way harder.Leave a comment:
-
-
Hope this helps with your problem at all
Code:if(keyboard input1 == askey code for ctrl && keyboard input2 == askey code for s) { code for object }
Leave a comment:
-
I mean that one day I feel like making a program in codeblocks and the next day I make a different program in Dev-C++. Though by day I do not mean the program only takes me one day to complete they are usually vary in time frames. I have the option to switch between compilers because I am programming for fun and my programs are not part of a bigger program for any job I have....Leave a comment:
-
I learned on Borland Turbo C++ 16 bit compiler and I now use Visual C++ express and I switch between codeblocks and Dev-C++.
Turbo C++ has a very comprehensive index to help new people but using the other compilers I found it is easier to program after you know what you are doing.Leave a comment:
-
You download the distribution of Linux you want, I use live cd's, and boot the computer from the cd then if you chose you are able to partition a section of your hard drive to run Linux and duel boot Windows/Linux or you are able to completely wipe the hard drive so it only has linux on it.Leave a comment:
-
Yes but that still does not account fot the lower case letters.Leave a comment:
-
-
It is always possible to convert in any language you just have to do the math.
I’m guessing the integer is in base 10
So say you have the number 23 that you want to convert into binary
23-(2^4)=7
1
7-(2^3) =put in a zero
0
7-(2^2) =3
1
3-(2^1)=1
1
1-(2^0)=0
1
so 23 base 10 = 10111 binary...Leave a comment:
-
When you run the program have you entered something starting with z and something else not starting with z? If so does the program still crash or does it ignore the field with the z. Also define crash does the program give you an error or just finish running?Leave a comment:
-
You are using an int try using a long or double. The maximum value an integer can be is 2147483647 on the positive side after you go past this number it goes to negative values.
Hope this is the answer to your problem.Leave a comment:
-
-
Its Big O notation describing the length that a program runs under the best circumstances.
I have taken a test on it and it still confuses me so you’re not alone.
n^4 means it will run in n^4 time. This is based on the variables in the program and how they are run. If an integer is run through a for loop it is O(n).
I think if I am wrong please correct meLeave a comment:
-
place a while loop with a counter on it
while(someRando mVariable<2)
{
forloop...
before end of iteration put this thier
someRandomVaria ble++
and it should break the for loop
you are also able to reset the variable when needed to bring it back to the for loop and throughLeave a comment:
-
Use a for loop and inside the for loop use the number counted as the array spot and that array spot equals the other arrays spot.
Code:For(int i=0; i<=”number of spots in the array”; i++) { array1[i]=array2[i]; }
Leave a comment:
-
That is a very good analysis, the answer I was thinking of was that they are palindromes but all questions have more than one correct answer so it is always fun to find different ways of thinking of things.Leave a comment:
-
I don’t know if this will help you at all but why don’t you make an array of lists so that the price, name, etc. are a list that stays together then sort those list according to your specifications. Then you can sort the various data field of the list without running the risk of mixing them up.Leave a comment:
-
I'm wondering if anyone will get this
If no one does and you want the answer you'll end up kicking youself after you hear it.
What does the word Racecar, and the number 1284821 have in common?
No activity results to display
Show More
Leave a comment: