775 Posted Topics

Member Avatar for RonKevin

>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 …

Member Avatar for WaltP
0
199
Member Avatar for zeroliken

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 …

Member Avatar for Taywin
0
269
Member Avatar for lewashby

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 …

Member Avatar for ~s.o.s~
0
146
Member Avatar for godzab

> 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 …

Member Avatar for JamesCherrill
0
294
Member Avatar for antoinette.boulevard

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

Member Avatar for pasx
0
3K
Member Avatar for jeaninem71

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

Member Avatar for np complete
0
336
Member Avatar for jeets1892

>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 …

Member Avatar for jeets1892
0
2K
Member Avatar for jeets1892

>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

Member Avatar for zeroliken
0
3K
Member Avatar for bigredaltoid

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?

Member Avatar for bigredaltoid
0
160
Member Avatar for silvercats
Member Avatar for hamzamuradkhanh

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 …

Member Avatar for JorgeM
0
278
Member Avatar for sarahwho

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 …

Member Avatar for johhny-marshal
0
183
Member Avatar for melissa.kapolka

>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 …

Member Avatar for melissa.kapolka
0
97
Member Avatar for chandnigandhi
Member Avatar for np complete

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 …

Member Avatar for zeroliken
0
90
Member Avatar for zvjezdan.veselinovic

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

Member Avatar for zvjezdan.veselinovic
0
1K
Member Avatar for andreasen12N

> if someone puts in the wrong password it will return them to the beginning to line 13? use a loop

Member Avatar for np complete
0
120
Member Avatar for rithish

>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 …

Member Avatar for maurya10
0
351
Member Avatar for abi_gurl

>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

Member Avatar for abi_gurl
0
168
Member Avatar for kris222

and it would save a lot of space to use strcmp from the string library instead of comparing every index

Member Avatar for zeroliken
0
87
Member Avatar for ax33m144

> 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 …

Member Avatar for I_m_rude
0
2K
Member Avatar for PhilEaton

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 …

Member Avatar for rubberman
2
278
Member Avatar for ITshard

Do you have an idea what classes and methods are and how should they work?

Member Avatar for stultuske
0
342
Member Avatar for Stupid.Widget

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 …

Member Avatar for JamesCherrill
0
225
Member Avatar for stamarab

also tell us what kind of game, programming languages are you using, is it concole based or will it have interactive computer graphics?,etc.

Member Avatar for stamarab
0
155
Member Avatar for PinoyDev

your missing the starting bracket for main, next >if(timeout<17:00) you can't use a time format for comparison

Member Avatar for deceptikon
0
433
Member Avatar for mikewyatt
Member Avatar for bikashjit
Member Avatar for erica86
Member Avatar for kovacsakos
Member Avatar for WaltP
0
120
Member Avatar for leokin

> 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

Member Avatar for sbesch
0
444
Member Avatar for kudakwashe.kadzungura

store the years in an array, loop through the array and print out the element if it is properly divisible by 4

Member Avatar for np complete
0
120
Member Avatar for hwoarang69

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 …

Member Avatar for zeroliken
0
139
Member Avatar for kovacsakos

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 …

Member Avatar for WaltP
0
138
Member Avatar for love_you_4rever

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

Member Avatar for WaltP
0
114
Member Avatar for kovacsakos
Member Avatar for kovacsakos
0
179
Member Avatar for vinnitro
Member Avatar for I_m_rude

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

Member Avatar for I_m_rude
0
123
Member Avatar for kathir100
Member Avatar for NormR1
0
80
Member Avatar for kenth21v

> 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

Member Avatar for kenth21v
0
236
Member Avatar for lewashby

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 …

Member Avatar for petzoldt01
0
164
Member Avatar for SimonFrance

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

Member Avatar for JasonHippy
0
153
Member Avatar for gwolf1

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

Member Avatar for gwolf1
0
348
Member Avatar for diwakar.hembrom
Member Avatar for shanki himanshu

> cout<<root->info; shouldn't that be printf(), this is the C forum after all

Member Avatar for I_m_rude
-1
158
Member Avatar for ZeQuia
Member Avatar for shanki himanshu

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 …

Member Avatar for MonsieurPointer
0
91
Member Avatar for osamabin.idrees

It terminates the function containing it,gives back control and returns a value to the calling function

Member Avatar for zeroliken
0
62
Member Avatar for ZeQuia

> 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

Member Avatar for Flowerlady
0
156
Member Avatar for letterG

If at least one of those conditions is true it will pass on to the next set of statements try using the && operator

Member Avatar for letterG
0
166

The End.