199,114 Archived Topics
Remove Filter ![]() | |
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++ | |
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 … | |
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 | |
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 | |
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 … ![]() | |
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 ? | |
Hello, What are the different areas of databases I can focus on for my project? Thanks, | |
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 | |
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 | |
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; … | |
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 … | |
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 | |
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#. | |
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 | |
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 | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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........................... | |
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. … | |
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 … | |
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 … | |
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 | |
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 … | |
#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. … | |
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 | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 + … | |
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, … | |
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 … | |
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 | |
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 … | |
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++ | |
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 … | |
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 | |
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 … | |
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? | |
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 | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … |
The End.