199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PhiberOptik

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 …

Member Avatar for neilcoffey
0
86
Member Avatar for freelancelote

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,

Member Avatar for Freaky_Chris
0
217
Member Avatar for mabpest

can someone help me to better understand what I am doing wrong with the attahced flowchart?

Member Avatar for Salem
0
147
Member Avatar for Sereal_Killer

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 …

Member Avatar for neilcoffey
0
114
Member Avatar for PhiberOptik

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

Member Avatar for PhiberOptik
0
287
Member Avatar for lostincpp

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 …

Member Avatar for Freaky_Chris
0
1K
Member Avatar for carson myers

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 …

Member Avatar for carson myers
0
630
Member Avatar for Littlerocks

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 …

Member Avatar for Gribouillis
0
149
Member Avatar for elitedragoon

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 …

Member Avatar for elitedragoon
0
174
Member Avatar for adam291086

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 …

Member Avatar for adam291086
0
76
Member Avatar for farshidk

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 …

Member Avatar for farshidk
0
101
Member Avatar for krymsyn

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 …

Member Avatar for krymsyn
0
139
Member Avatar for shadwickman

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

Member Avatar for daviddoria
0
347
Member Avatar for singhraghav

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 …

Member Avatar for unbeatable0
0
292
Member Avatar for Superstar288

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

Member Avatar for Superstar288
0
131
Member Avatar for robertmacedonia

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

Member Avatar for robertmacedonia
0
317
Member Avatar for xarz

Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks.

Member Avatar for xarz
0
168
Member Avatar for mikeabe

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 …

Member Avatar for mikeabe
0
124
Member Avatar for meistrizy

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 …

Member Avatar for meistrizy
0
169
Member Avatar for daveg8

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

Member Avatar for sDJh
0
102
Member Avatar for clueless101

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

Member Avatar for stephen84s
0
186
Member Avatar for localp

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

Member Avatar for stephen84s
0
536
Member Avatar for singhraghav

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++) { …

Member Avatar for BeyondTheEye
0
117
Member Avatar for MaxManus

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

Member Avatar for MaxManus
0
130
Member Avatar for clb8372

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

Member Avatar for ddanbe
0
969
Member Avatar for calcop

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

Member Avatar for calcop
0
151
Member Avatar for Ouais

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 …

Member Avatar for ddanbe
0
241
Member Avatar for Grub

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 …

Member Avatar for Salem
0
107
Member Avatar for kajames

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 …

Member Avatar for NEo4
0
97
Member Avatar for JayJ

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

Member Avatar for sikka_varun
0
112
Member Avatar for virspy

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

Member Avatar for sikka_varun
0
70
Member Avatar for SHWOO

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 …

Member Avatar for Murtan
0
115
Member Avatar for mypopope

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

Member Avatar for AHUazhu
0
89
Member Avatar for ina_rizoaica

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 …

Member Avatar for ina_rizoaica
0
102
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
536
Member Avatar for brandn.

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 …

Member Avatar for brandn.
0
297
Member Avatar for tomtetlaw

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 …

Member Avatar for tomtetlaw
0
166
Member Avatar for Jhon100

I'm looking for a script written in php directory. Somebody knows any interesting? Thanks

Member Avatar for compdoc
0
96
Member Avatar for robertmacedonia

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 …

Member Avatar for Tyster
0
147
Member Avatar for Duki

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

Member Avatar for ddanbe
0
119
Member Avatar for Sereal_Killer

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 …

Member Avatar for Sereal_Killer
0
100
Member Avatar for robgeek

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 …

Member Avatar for daviddoria
0
111
Member Avatar for leegeorg07

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?

Member Avatar for shadwickman
0
92
Member Avatar for ninja_gs

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 …

Member Avatar for ItecKid
0
195
Member Avatar for bahr_alhalak
Member Avatar for bahr_alhalak
0
71
Member Avatar for Duki

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 …

Member Avatar for jbennet
0
127
Member Avatar for darkyere

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 …

Member Avatar for LizR
0
248
Member Avatar for programmingme

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

Member Avatar for programmingme
0
145
Member Avatar for meistrizy

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 …

Member Avatar for meistrizy
0
104
Member Avatar for Wees

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

Member Avatar for stephen84s
0
82

The End.