775 Posted Topics
Re: >Do i have to start a new discussion whenever a question is solved? yes >How is it?... The for loops at the menu function is unnecessary, you could simply pass the value for the the stucture index from the main function >Now i'll go ahead and make the scan Buyer's … | |
I got the insert and Delete Data/Row working for my DBMS. The deleteRow method finds the row that contains the same primary key from the database, passed on to the method, and deletes the row. With using the insertRow method, the data I added shows on up on the last … | |
Re: as I see it it's like this the checking starts with 0 (list indeces start with 0) so it would look like movies [ 0 , 1 , 2 , 3 , [ 0 , [ 0 , 1 , 2 , 3 ] ] ] where the 4th one … | |
Re: > for(int i = 0; i < list1.size() - 1; i++){ > if(list1.get(i).compareTo(list2.get(i)) == 0){ > list1.remove(list2.get(i)); > } > } once an element is removed from either list their sizes will be different from the other. So you can't compare the remaining elements of a list with the others … | |
Re: your confusing the quotient and remainder > 31600000 % 60 = 526666.666666 526666.666666 is not the remainder but the quotient to the equation try small numbers and you'll see how it works | |
Re: your not passing any actual paramater on the functions also local variables found in the functions will only be visible to the calling function (main) if you save their values | |
Re: >So what kind of loop should go in main() to make the program right? any kind of loop will do, that's mostly user preference though I suppose what you meant was " *what condition is to be used for a loop?* " right? which you need to post more details … | |
Re: >Also, why is this needed? >change = tenDollar % 10 ; // calculate the change needed he probably wanted the remaining decimal values to use for the quarter computation but this wouldn't work since tenDollars is an integer type and he can't use the modulo operator for float type variables | |
Re: for (int i = 3; i < range; i++ ){ if (num % i == 0 ){ prime = false; break; } } hint: for checking if the number is prime why does the condition here start with 3? | |
Re: well for "BEST" this would be very subjective | |
Re: 1. make sure the filename extension is a valid microsoft word extension e.g. .doc, .docx, etc. 2. open the document in comatibility to previous versions of microsoft word 2. if still no luck then the file is *most likely* corrupted here's a link from a google search of possible solutions … | |
Re: what's the content of the new window? Is it spam or ad, etc.? this might be because IE is set as your default browser and an application is trying to connect to the internet If it's a regular application you can tweak the settings for connecting to the internet If … | |
Re: >Can someone help me understand what this means? A function that takes a double pointer float and an int variable as a parameter >Especially the **scores.... It's a pointer to a pointer (*research about pointers and 2D arrays*), where modifying its value/s changes the value/s of the variables passed from … | |
Re: yes played it back then, the puzzle like environment wasn't too hard to solve you just need a good reaction time >Its a really creepy... really... hmm well creepy isn't the first word that popped in my mind while I was playing, for me It felt more of a solitary … | |
Re: Could you give more details about the problem like any error messages or program output also take note that printf function is part of the C stdio header | |
Re: > if someone puts in the wrong password it will return them to the beginning to line 13? use a loop | |
Re: >so i took the code my doubt is here can we take pivot element randomly???? or is >there any rule for tat choosing the pivot doesn't have too many rules cause in most cases it's found in the middle element of a list or chosen randomly but take note if … | |
Re: >is there any other way to do it as im not good in pointer.Im a very beginner. you could declare the grid as a global variable, also I suggest you learn how to use pointers it's gonna be useful for scoping | |
Re: and it would save a lot of space to use strcmp from the string library instead of comparing every index | |
Re: > firstly, How to open up the algorithm header for your compiler ? means where it is ? check the library or lib folder of your compiler and look for the file In my Windows using cygwin I found it at C:\cygwin\lib\gcc\i686-pc-mingw32\3.4.4\include\c++ in ubuntu probably at User/Include/gcc or g++ file … ![]() | |
Re: I currently have a subject titled "Introduction to Computer Organization and Machine-Level Programming" which focuses on Assembly language on 32 bit systems with Nasm as the compiler and uses Intel style syntax. Having studied first high level languages first like C and Java I struggled a bit with Assembly which … | |
Re: Do you have an idea what classes and methods are and how should they work? | |
Re: for a simple approach: As I look at the pseudocode your suppose to ask first the user the product number then the quantity. Next first put the switch statement inside a loop instead of a loop inside the switch case next use a diferent variable for the product id and … | |
Re: also tell us what kind of game, programming languages are you using, is it concole based or will it have interactive computer graphics?,etc. | |
Re: your missing the starting bracket for main, next >if(timeout<17:00) you can't use a time format for comparison | |
| |
Re: the link goes to an error page | |
Re: still too little detail, post how the 5 marks and border points work | |
Re: > What I am considering is dual-booting my Windows computer with it. > > Any advice? try [Wubi](http://www.ubuntu.com/download/desktop/windows-installer) for ubuntu | |
Re: store the years in an array, loop through the array and print out the element if it is properly divisible by 4 | |
Re: How about reading a tutorial from the web, In Java here's a good tutorial (though a bit deprecated) which teaches how to make platform based games like mario you can also download and edit the source code too [http://www.javacooperation.gmxhome.de/TutorialStartEng.html](http://www.javacooperation.gmxhome.de/TutorialStartEng.html) this covers the basic steps from first to last and you … | |
Re: what's the value of the intervals? I see in your example that the first set has a length of 5 but the next one only has 2 and at the last is probably for the remaining elements, is there a pattern for this? once you know the value of the … | |
Re: returns the index where the current element of array y is equal to x, else returns -1 if the value of x is not in the array | |
Re: how is matrix initialized? are you trying to allocate a single or a 2d array | |
![]() | Re: Why complicate the procedure I don't see any reason why you need to use 2d arrays for this, If you search the net on how this is done you'll see what I mean ![]() |
Re: [lmgtfy](http://lmgtfy.com/?q=how+to+create+jar+file+in+java) | |
Re: > but isn't using notepad will be confusing? I mean no colors. probably meant notepad++, a popular editor also if you want to do it manually (terminal commands) use the javac command for compiling and java for running your programs | |
Re: First make sure you've installed the restricted extras package that supports popular audio and video formats such as flash and mp3, this can be found on the software center now if you already have this, the media player I'd suggest you try is clementime, they have supposrt for external device … | |
Re: here's some links [xfce4](http://www.xfce.org/download) [linux mint](http://www.linuxmint.com/download.php/) [gnome](http://www.gnome.org/getting-gnome/) or just try the terminal command on downloading the gnome-shell | |
Re: you forgot to post the troubles your having with completing the code like what part doesn't work or what are you supppose to do next | |
Re: > cout<<root->info; shouldn't that be printf(), this is the C forum after all ![]() | |
Re: post your code so we can see what you did, | |
Re: are you sure you posted in the right forum, the code is in C++ yet this is the C forum and you forgot to post the error messages Now in a glance, 1 error I see is you should initialize the following variables inside the structure as follows struct node … ![]() | |
Re: It terminates the function containing it,gives back control and returns a value to the calling function | |
Re: > i just want to learn about using random functions in words do you need help in retrieving words from a file or generating random strings > turbo c only. wouldn't you rather use a modern compiler than this antique | |
Re: If at least one of those conditions is true it will pass on to the next set of statements try using the && operator |
The End.