199,114 Archived Topics
Remove Filter ![]() | |
Hey guys, I have a program that I want to launch and pass a parameter. For example: [QUOTE]"C:\Program Files\aProgram\test.exe -login joeSmith password1"[/QUOTE] The thing is I can't just add that to a shortcut because lots of other people will be using this computer as well. Is there a way of … | |
Hi, I'm trying to have a function that takes an ifstream object and returns an int as in [ICODE]int wCount(ifstream myFile);[/ICODE] Is that possible? The compiler gives me loads of errors that I simply don't understand. Thanks, | |
can someone help me to better understand what I am doing wrong with the attahced flowchart? | |
I have a basic problem i dont know where the error lies. i can create a class Persoon and fill in all its values before its created . but for some reason when i call up the information i get the current Date as the birthdate and not what i … | |
Hey folks, I have come upon what seams to be a very basic problem, but I have read my text book over and over and I can't figure out how to write to a specific line of a text file. For example each line of my text file looks like: … | |
I am new to programming and have no idea how I have made it this far in the class, but this is our last assignment and I am stuck. This is what the assignment says: Create program that calculates the average of three test scores: The program should contain 3 … | |
so, I want to avoid using int 21h and start working with BIOS level code. I'm trying to write something equivalent to int 21h, function 09h, using int 10h functions 09h, 03h, and 02h, except I want the reading to terminate when it reaches a 00h character, switch to green … | |
Hi,if i have a function A,which can apply a certain rule on a given matrix to generate a another matrix which i call it the next state of the origin matrix,also the function can determine the the final state of the matrix by given times N(apply the rule on origin,and … | |
Don't know what is up with it. Any help is nice, thanks. error c2660: 'Totaler' : Function does not take 20 arguments error c2660: 'Averager' : Function does not take 30 arguments [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #include "./myheader.h" void InputEmployeeData(char*lastname, char*firstname, float*hours, float*payrate, float*deferred); float CalcGross(float hours, float … | |
Can someone please tell me why this class wont work. [CODE]#!/usr/bin/python import MySQLdb class test: @staticmethod def wanker(): # connect db = MySQLdb.connect(host = "localhost", user = "username", passwd = "Password", db = "test") # create a database cursor cursor = db.cursor(MySQLdb.cursors.DictCursor) # execute SQL select statement cursor.execute("SELECT * FROM … | |
Hi; how can a predefined text be printed in a html page? it means, when the "print this page" button/link is clicked all the elements in the window is printed even the button. now is there any way to print just the texts & etc. without printing the buttons and … | |
I am a University of Phoenix student currently enrolled in IT210 (for those of you who are familiar). I have been struggling throughout this semester...the book is hard to follow and the instructor seems more helpful then he is. :( My final project is the Currency conversion program and this … | |
Hi, I'm really confused now about how to return an int[] from a C++ function. Inside the function, I need to dynamically resize the array, but at the end I want the variable returned to be an array, not a pointer, but I have no idea how to do this: … | |
hey ppl! i have got an assignment which asks me to do a personality evaluation on the basis of the users name and gender....i have to take user name input in upper or lower case....but have to output it in a proper manner with only the first letter of the … | |
hi i was doing some work for my project in a gui and i wanted to print out the information in my arraylist but when i do print out the object all i get is Customer@197d257 i have used the follwing code to print it out of my iterator [CODE] … | |
Hi, I have this little program with two classes in it. The first class Kontakt (Contact in english) contains information about a person (name,surname and number). Now, in the PhoneBook class I am trying to implement a LinkedList <Kontakt>, i.e. a list of contacts. Now, all the methods work fine, … | |
Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks. | |
Hi (In my php form, i'm getting a bunch of data to Mysql, all of which is working correctly except id and name. id and name are fed from Mysql to the form.) Here's the problem area: I'm getting an id AND name from a dropdown menu using EXPLODE. With … | |
It also might help if I tell you guys the whole program (*smh*...lol): Ok...the bottom part of the program is supposed to read the file and then display the rounded number in a table as the charted population. I tried to redo the same piece as StuXYZ suggested but it … | |
I have a website where most pages will load on Macs but a few of the pages will not. All of the pages will load on PCs. Any ideas why? -Dave | |
[QUOTE]I'm working on a seemingly simple application that has 2 text fields and a slider. In the 1st text field the user enters an amount and the associated sales tax is displayed in the 2nd text field. Then, by moving the slider up and down the specified range, the user … | |
i want to display a PDF file in a JFrame .. how do i code it, can some one send me the code for this.. i googled, it but couldn't find any .. plzz help me | |
i am trying to take input for name and return it with only the first letters of the name as capital....i am able to it the first name but m unable to move on to the second and last name.... please help.. [code=cplusplus] string ToUpper(string n) { for(int i=0;i<n.length();i++) { … | |
[QUOTE]Make a function [CODE]def rhs(u, t): [/CODE] for returning the right-hand side of the first-order differential equation system from Exercise 11.36. As usual, the u argument is an array or list with the two solution components u[0] and u[1] at some time t. Inside rhs, assume that you have access … | |
[QUOTE][LIST] [*]Identify a task you perform regularly, such as cooking, mowing the lawn, or driving a car. [/LIST] [LIST] [*]Write a short, structured design (pseudocode only) that accomplishes this task. [/LIST] [LIST] [*]Think about this task in an object-oriented way, and identify the objects involved in the [*]task. [/LIST] [LIST] … | |
Hello everyone. I have created a sales system for my company. Basically you telnet to the system and enter your login name, password ... From there you can access the sales system. I am working on a feature to write reports for a certain area of the system. For this, … | |
So , I've been obsessing about this for a while , as stupid as it may sound , I don't seem to know where exactly can I declare functions when I'm Drawing in VC++ 2008 , all I did so far was initialize paint Handle , wrote a couple lines … | |
Hi, is there a place from where I can get or read up on the C ++ standard library for the mac? Something similar to Sun's java documentation. I am looking for GUI libraries and others such as handling files not opening for streaming but to get attributes of files … | |
Hi, I'm currently working on a group project that involves an address book (working in VisualBasic.Net 2003). I have one form (frmData) in which the user enters data. I want to transfer it to a label on my other form (frmAddress). Currently, on frmAddress: [code] Public strName As String Public … | |
I'm trying to grab a value from a mySQL database and put that value on the end of a url path e.g. http://url.com/$valuefromdb Is there any tutorials to how to do this or can anybody recommend how to tackle this? Kind Regards JayJ | |
Hi friends iam new to PHP can any one help me in the code for add category please iam not getting exact things please Viru bye | |
while((board.getgXPos() != board.getXPos()) && (board.getgYPos() != board.getYPos())) { system("cls"); board.printBoard(); board.moveBall(); } I would like this while statement to continue repeating until both gxPos equals XPos & gyPos equals YPos. I can't seem to figure out why the statement exits if either both x's are the same or if both … | |
I'm using dev c++ beta i downloaded from the internet.but the problem is i cannot compile my source code even a simple one like this: #include <iostream> using std::cout; using std::end: int main() { cout<<"HELLO" <<end; return 0; } The error says "The system could not find the specified file" … | |
Hi, hope you can help me. I am working with a database (mysql) already created, pictures were stored in a longblob field, but this is the only field related to pictures (so I have no info about their size). I manage to extract and display the pictures - using a … | |
I have been trying to learn ctypes so as I can call C++ DLLs in python and have no problem on Loading DLLs. My question are: What are procedures of calling functions in DLLs especially since Py and C++ have different data types? I see argtypes and restypes: What are … | |
so i have been taking my c++ class for about a couple months and really had no problems till we hit functions. The other assignments with functions I eventually got, but this one is eluding me to no end. I think I am heading in the right direction, but just … | |
Im learning VPython and im doing a tutorial that i found on the net and i start my program and when i press the red x at the top of the screen the window closes but the pythom shell and the editing window closes aswell, any ideas? heres my code … | |
I'm looking for a script written in php directory. Somebody knows any interesting? Thanks | |
Hello, I'm new in Java programming, just learning it and I want to ask you about the Exceptions. As much as I understood, I just need to create a class e.g. "MyException" that extends the Exception class, and use the exception specification "throws" in the function that might throw the … | |
Hey everyone, can someone tell me how to include other .cs files in my program? sort of like the .h files in C++ I guess. I want to be able to call functions from other .cs files. Thanks | |
I have a basic problem i dont know where the error lies. i can create a class Persoon and fill in all its values before its created . but for some reason when i call up the information i get the current Date as the birthdate and not what i … | |
Hi, I am trying to write an address book. The problem is: in my class declaration I declared a mutator. In the implementation, I am asking the user to enter his address, city, state and zip. So my prototype void set_add(string, string, string, int). In other words I am trying … | |
![]() | Hi again but i seem to have a problem whenever i try to use the sqrt() function it says that sqrt() doesn't exist. can anyone help me? |
I use Turbo C++ compiler to compile Cpp program. when i use it . shows error( undef :"cout " "endl") but included CONIO.h . Also I checked OPTIONS-> DIR - where I have TC Folder(My case I have it in E:\TC\INCLUDE & E:\TC\LIB) Even The Example Programs is Not Running … | |
In one of my C# books, this is written: [quote] "if you write this application in VB.NET or any other language compliant with the .NET CLS, you will have compiled it into more or less the same MSIL. By design, IL code created from different languages is virtually indistinguishable"[/quote] I … | |
Im trying to make a screensaver whit the option to support single and multiple images. this is the code for single images where im trying to make it fit large images to screen but no matter what of these conversion types ive used Round Rounds a floating point number to … | |
My program keeps looping when asking for seat letter. Can anyone help me out as to why that is? [CODE] import java.io.*; import java.util.*; public class AirplaneSeating { static Scanner console = new Scanner(System.in); public static void main(String[] args) throws IOException { char[][] seatPlan = new char[13][6]; char response; initializeSeatPlan(seatPlan); … | |
Ok...the program is supposed to read data from the file and then output one star for every 1000 people. At the bottom of the program, it is supposed to round the numbers up or down (2500 = 3 stars, 2499 = 2 stars) but I can't get that part to … | |
Hi all Kindly tell me how to pre-compile a JSP page, how to deploy it in Tomcat and Websphere and how to stop Tomcat and Websphere re-compiling the JSP at runtime. Thanks & Regards Wees |
The End.