199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Shayan_1

Hi!! i am new to C++. Can anyone help me to understand this code please... I can't really get it..... like these: && , endl. What these do and what do they stand for?? #include <iostream> using namespace std; int main () { int a,b,c; cout<<"Enter three integers :"; cin>>a>>b>>c; …

Programming c++
Member Avatar for Shayan_1
0
208
Member Avatar for salbic

I have an issue with the code I am working on and realised I need some help with it as I can not find out what I am doing wrong. The following code is just at part of a bigger code (that works fine) and I would be thankful if …

Member Avatar for salbic
0
202
Member Avatar for Trevor_5

it gives me a arithmeticException on this line System.out.println("\nTotal = " + dSum + " - Average " + (dSum/divider) ); import java.util.*; public class Lab1A{ public static void main(String [] args){ Scanner input = new Scanner (System.in); int [] k = new int [20]; int [] d = new …

Programming java
Member Avatar for Trevor_5
0
156
Member Avatar for Kaiser95

1. Write pseudocode to solve the following problem. (i) Declare an array nums that can hold 100 real numbers. (ii) Write pseudocode to load nums with 100 values, entered via the keyboard. Assume all data are valid. (iii) Write pseudocode to prompt for an integer target. Search array nums for …

Programming visual-basic
Member Avatar for rubberman
0
200
Member Avatar for janicemurby

hi can someone check this section up for me as im getting a error from it after converting to mysqli Fatal error: Call to a member function query() on a non-object in /home/matureco/public_html/config/db_connect.php on line 67 // find total message per user if(! function_exists(unReadMsgCount) ) { function unReadMsgCount($id) { return …

Member Avatar for diafol
0
231
Member Avatar for Tommybb

I know the general answer would be a Programmer, But more specificlly what types of jobs would you program for? What fields benifit from C++ programmers ?

Member Avatar for parul26sha
0
1K
Member Avatar for Mohamed_26

Hello, What are the different areas of databases I can focus on for my project? Thanks,

Member Avatar for Mohamed_26
0
159
Member Avatar for divinity02

hi everyone, james, stultuske I am trying to build this multiple choice math game, it is my individual assignment and I have less than a month to finish this and i really need the help as quick and as fast as possible right now the game is not running as …

Programming java
Member Avatar for Taywin
0
353
Member Avatar for rhys1619

hi this is my quiz. what i need to do is add a thing at the start where it askes the user their age. if the user is under the age of 5 they will only be asked 5 question and if there 5 or above they will be asked …

Programming python
Member Avatar for fonzali
0
211
Member Avatar for AntonyRayan

Here, I included my time difference code, but I am getting NaN error. How to do time difference in my code. I need my output like, 03 Hrs : 30 Mins Here is my code: /////Calculate time duration start/////// /*function calculate_Duration() { //var start_time = document.getElementById('start_time').value; //var end_time = document.getElementById('end_time').value; …

Member Avatar for Taywin
0
293
Member Avatar for Stefan_6

hey, folks, thanks for clicking :) i want to assign a pressed key to a button, i clicked before, similar to what we know from computergames, when we change the key bindings. For example: click button1 -> the application is waiting for any key to be pressed -> we push …

Member Avatar for Reverend Jim
0
405
Member Avatar for Sukka_1

Hello friends, I'm currently in Tech class doing a project on a very old version of python and need help animating a moving object. I have no idea what to do please help i need to create a winter wonderland Landscape with a cabin, trees, a chimney with active smoke …

Programming python
Member Avatar for David W
0
539
Member Avatar for Sagar_7

Can anyone please let me know how can I get the difference between two dates? Is there any function in c#? I've one more question can I check for value of the textbox like if value should be atleast 500 or more?? I want to use custom validators in c#.

Member Avatar for pritaeas
0
188
Member Avatar for sangi1981

Hi all, If I have two table of cod-desc, T1 and T2, and I need to create all possible combination, other than using cartesian product, is there another way more optimal to do that? Suppose every table has 1M rows. RDBMS= Oracle 11G. Thanks sandro

Member Avatar for sangi1981
0
226
Member Avatar for rhys1619

hi there what i've tried a lot is to make it so at the start of the quiz it asks the user there age. if the user is under 5 they will only be asked 5 questions and if there over 5 they will be asked all 10 #rhys translation …

Programming python
0
111
Member Avatar for Yogesh Sharma

I m new to the MS Access, I m prone to the SQL Server Only. Can u plz explain the difference b/w[B][COLOR="Red"] Datasheet View & Design View[/COLOR][/B]. I have some idea,pls check it whether me right pr wrong. In design view,we have to specify by own datatypes & column names. …

Member Avatar for hihihihi
0
18K
Member Avatar for nadiam

Hi. im doing some exercises and im confused as to what its asking me to do. Problem: write a program that displays the average and highest mark based on the sets of marks entered. values less than 0 and greater than 100 should be ignored input: a list of input …

Member Avatar for JamesCherrill
0
165
Member Avatar for Asmat_1

Hi, I am a beginner in Java Programming. I am working on an assignment which includes Circular shift of the words inside a string. I could find a lot of stuff about circular shift of numbers or characters but I have no idea about circular shift of complete words. As …

Member Avatar for Taywin
0
485
Member Avatar for James_43

Hi all, I am trying to get a for loop to cycle through, sleep, and then keep going until a specified time. I'm running into memory errors and unsure whether this is legitimate, or because its created a memory leak. My code is: $currentTime = time(); $time = time(); while …

Member Avatar for Taywin
0
225
Member Avatar for pilucho

Hello everyone. I have the following problem get the last id from the database but you can not insert a text field, the last id has, solution? pls pls <? $localhost = "localhost"; $username = "username"; $password = "password"; $dbname = "nameMyDB"; $conn = mysqli_connect($localhost, $username, $password, $dbname); // Check …

Member Avatar for Taywin
0
388
Member Avatar for santhanalakshmi

Hi, Please anyone help me out............ I want the users to enter the data in the textbox of the minimum length of "10" and maximum length can be "ANY"(or above "10"). Thanks in advance...........................

Member Avatar for Sagar_7
0
3K
Member Avatar for deniseaddy

Hi. My web app currently uses the old FedEx WSDL API for rates and tracking and I have to now test it for FedEx's SHA-2 changes coming in Jan 2016. I am a little confused about how to easily switch between "Production Environment" and "Test Environment" and need some advice. …

Member Avatar for pritaeas
0
774
Member Avatar for Mike_H

I am in the process of making an existing website designed in 2005 to be able to work well with wide-screen monitors, tablets and phones. On the existing site, http://pettitslawnscapes.com/html/design___build.html, the menu selection **Design & Build** has six submenus that drop down when your mouse hovers over it. I need …

Member Avatar for zelrick
0
290
Member Avatar for gpellis

Alright, I am taking a summer course on Operating Systems and it has been a while since I took Java. I am trying to re-learn everything that I have forgotten. In my field, Java was only required as an introduction class and therefore my level of programming in a computer …

Member Avatar for April Jam
0
787
Member Avatar for rhys1619

Hi this is a quiz i'm making for school. I've tried to add a restart but nothing worked. i want it to say "do you want to restart". the user then types yes or no and it will begin the quiz again. PLEASE HELP thanks # rhys translation quiz #intro …

Programming python
Member Avatar for Gribouillis
0
331
Member Avatar for samantha2015

I try to implement this oauth2 config in my web application https://github.com/ksoumi/SpringSecurityOAuth2. The only difference is that he used an authentication manager with hardcoded username and password. I already have a login with spring security. I have merged only the oauth2 config in my spring-security.xml. I get HTTP status 404 …

Member Avatar for samantha2015
0
1K
Member Avatar for Popy_1

#include <iostream> #include <iomanip> using namespace std; enum sizes{small, medium, large, jumbo}; sizes options(int drinkSize, int popcornSize); void printTotal(sizes price); int main() { int popcornSize, drinkSize; cout<<"Please pick the size of your popcorn: "<<endl; cout<<"1. Small"<<endl;cout<<"2. Medium"<<endl;cout<<"3. Large"<<endl;cout<<"4. Jumbo"<<endl; cin>>popcornSize; cout<<"Please pick the size of your Soda: "<<endl; cout<<"1. Small"<<endl;cout<<"2. …

Member Avatar for Popy_1
0
190
Member Avatar for throwaway443344

Write a MIPS assembly program that reads an input file(OR that reads input text separated by endlines(\n)) and returns how many times a user specified string appears. Let me know how much you would charge for it. I need to try getting this done today since it is due tomorrow. …

Programming assembly
Member Avatar for rproffitt
0
767
Member Avatar for varun_6

WAMP 2.5 server on my windows 10 machine was working completely fine, until I accidentally installed a software which silently installed Win MySQLAdmin on the same machine. That day since, Wamp server icon remains in orange color (never turns green). **Issues:** 1. localhot/ phpmyadmin displays 'access denied' error. following is …

Member Avatar for cereal
0
3K
Member Avatar for nadiam

Hi. Im doing a few exercises because I have a test tomorrow (Wish me luck!). This particular exercise asks for a menu calculator. The Menu is like: 1. Addition 2. Subtraction 3. Multiplication 4. Division 5. Exit Im using do..while and the switch case is in the do..while. and im …

Member Avatar for Violet_82
0
289
Member Avatar for westsiderailway

Hello everyone, what i am trying todo is get the following data from a html file.... Friday 31 - 1 - 2014 Created: 31/01/2014 2:32 PM Updated: 31/01/2014 7:03 PM Location: 37°35'13 S 145°7'41 E Shift 143 Car 7008 Bus 280 564 / 9 Car 7008 Car 7011 Bus 361 …

Member Avatar for overwraith
0
668
Member Avatar for gavriela

Hello, I'm in a beginning Java class, and I am lost :( My homework calls for me to write a program that takes an integer (of unknown length) and prints it one digit per line, like: 5 6 9 8 6 4 3 I have been googling this for hours …

Member Avatar for stultuske
0
5K
Member Avatar for James_43

Hi all, I'm using nginx to host multiple servers on one terminal through virtual hosts. Each one needs to be able to send emails, but I am unsure how to specify which account to use when I call the php mail() function. Should I be specifying in the nginx configs …

Member Avatar for Tonc
0
1K
Member Avatar for jKidz

Hi All, Please study the following code. ## HTML ## <div id="welcome"> Welcome Message </div> <div id="Inquiry"> Inquiry Form </div> <div id="products"> Products </div> <div id="footer"> footer </div> CSS #welcome{ background-image:url(../images/company.jpg); background-size: 100% 100%; width:100%; height:600px; } #inquiry{ margin-top:600px; width:100%; height:500px; background-image:url(../images/light_grey.png); } #products{ margin-top:1100px; // (margin-top of inquiry + …

Member Avatar for jKidz
0
232
Member Avatar for jas5988

I'm having trouble determining what in my code is causing the message "Program.exe has stopped working." It displays the results properly, otherwise. Any suggestions? #include <iostream> using namespace std; int main() { const int numArraySize = 11; int numArray[] = {1, 2, 3, 3, 3, 2, 2, 1, 3, 4, …

Member Avatar for ddanbe
0
212
Member Avatar for me vicky

Can anyone please look at code and tel what is issue in Laptop::Laptop(int wdSize, int memSize,int storSize, int spee,int wid, int hei , int len , int wait ) { Computer::Computer(int wdSize, int memSize, int storSize , int spee); width=wid; length=len; height=hei; weight=wait; } Computer::show(); which is a base class …

Programming c++ storage
Member Avatar for incomer
0
706
Member Avatar for hwoarang69

How to replace string with variable in substring? btw im using vb I have a below query that work fine but I just want to replace "ra*" with a variable. How can I do this? SELECT DISTINCT a.[rank], b.Description FROM CONTAINSTABLE(myTable, *, '"ra*'") AS a INNER JOIN myTable AS b …

Programming asp.net visual-basic
Member Avatar for incomer
0
329
Member Avatar for hallianonline

Hello, I am facing a very little problem but I am totally confused how to resolve it I have two tables in my access database which have similar items in it from the first table i.e **tbl_reci_inds** I have selected **reci_prod_code** which is a product code, also in this table …

Member Avatar for ez4u2c
0
319
Member Avatar for Muhammad_99

I'm trying to findout the size of the array. But instead of giving it 5 it is giving 2. Which is not correct. Formula for finding the size of the array is this. int size = sizeof(pArr)/sizeof(int); [You can see the working code here.](http://coliru.stacked-crooked.com/a/780601b9bccc03e7) For your copy code is shown …

Programming c++
Member Avatar for Suzie999
0
262
Member Avatar for janicemurby

hi i have just picked up a script of the net for my site and when i uploaded in onto my site i get the following message: Warning: Cannot modify header information - headers already sent by (output started at /home/matureco/public_html/new/php/connection.php:4) in /home/matureco/public_html/new/php/session.php on line 19 ive tried different things …

Member Avatar for janicemurby
0
138
Member Avatar for divinity02

hi all this is my individual assignment, it is math multiple choice game program in java. it have to random numbers got the random number but it is supposed to generated two different answer but instead it generated the same numbers for the answer, how do i fixed that. the …

Programming java
Member Avatar for divinity02
0
448
Member Avatar for Sophia_1

Hi everyone. Am trying to send email reminder for users to update their progress 1 month before end of every quarter. So every February and May etc the email notification will be autosend to the users from the system. Below is the code. Please advise if this is the correct …

Member Avatar for cereal
0
5K
Member Avatar for studyemail

Hello, I am making a tictactoe project for my 1st year college and I am wondering how can I use 1d array for tictactoe? for example) is it like int row1[3] ={0,1,2,} int row2[3] ={3,4,5} int row3[3]={6,7,8} is it like this?

Member Avatar for invisal
0
2K
Member Avatar for v1shwa

Hello, I've been asked to create a tool using 3rd party API. The API requires to send the user details in encrypted format. The problem here, they didn't mention what kind of encryption we should do. They just provided a two C++ functions to encrypt the data. I'm a PHP …

Programming api c++ encryption php
0
125
Member Avatar for Tiffany888

I am trying to work the next and previous button to read or navigate throughrecords, please help me to correct this, I'm stuck here: Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Dim k As Integer Dim i As Integer k = 1 i = k + 1 …

Member Avatar for rproffitt
0
254
Member Avatar for kgizo

Good day everyone I just want to know whether its possible to upload a file using joomla that wouldnt be downloable at all, I tried saving the file as a read only pdf file but that still made the file downloable on the web. Taking into consideration that the internet …

Member Avatar for Taywin
0
229
Member Avatar for AntonyRayan

Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do?

Member Avatar for broj1
0
2K
Member Avatar for nitin1

I have read few articles on google but I am still confused when to use what. I have come across checked and unchecked exceptions. I have one exception which I need to define. Let say, when xyz is null, I need to throw the inconsistentcyException which I will catch in …

Member Avatar for JamesCherrill
0
230
Member Avatar for Violet_82

HI guys, I'm trying to build a small GUI application where users can input text (in a JTextArea) and by pressing a button, you get a summary of how many times each word in the text has occurred. So here come the questions. First, the GUI itself. The way I …

Member Avatar for Violet_82
0
605
Member Avatar for squeak24

OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> <div id=“id1”></div> <h3>Anchor 1</h3> <br> Anchor 1 text here. Anchor 1 text here. Anchor 1 text here. Anchor 1 text …

Member Avatar for squeak24
0
337

The End.