64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ninja_gs

Even a Working Code in Turbo C++ is not working in Dev++ .. I have Just installed ...... in C: and All Lib /Bin/Dir/Include Paths Are Correct as it was........But still Not working........... I have Tryed To rebuild it But No use any Help me out or Provide me a …

Member Avatar for ninja_gs
0
141
Member Avatar for scrypt3r

I Recently Tried To get An App To copy itself To startup folder [CODE] My.Computer.Filesystem.Copyfile(application.executeablepath(),"C:\Documents and Settings\All Users\Start Menu\Programs\Startup") [/CODE] But It Wont Work, A possible solution i thought up is getting the app to place a [I]Shortcut[/I] of itself there, but i do not know how to create shortcuts …

Member Avatar for Teme64
0
99
Member Avatar for suvirj

Hi, I am kinda new to java netbeans...i have downloaded some java code which is n implementation of the algorithms in the book AI:A Modern Approach. After extraction, the folder has bin, build, doc and src folders which hold various .class and .java files. Now my problem is that i …

Member Avatar for peter_budo
0
129
Member Avatar for 30Caliber

Hi everyone, I'm new to this site and programming, and i was wondering if i could get some help with a programming problem of mine. I have to print 10000 random numbers ranging from 0 to 10000. The numbers should be put in the console screen and a txt. file. …

Member Avatar for 30Caliber
1
2K
Member Avatar for scrypt3r

Hello in the ping app i am using this code [CODE] try Dim ping As New System.Net.NetworkInformation.Ping Return ping.Send(hostNameOrAddress,5000,300).RoundtripTime Catch ex As Exception MsgBox("Computer Ping Could Not Be Called") End Try [/CODE] but my app will not accept 300 as a amount of bytes, Help!

Member Avatar for scrypt3r
0
166
Member Avatar for designingamy

Hello everyone! I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states this way-that's well over 3000 counties): [code] <script language="JavaScript" type="text/javascript"> <!-- //first combo …

Member Avatar for designingamy
0
186
Member Avatar for jworld2

wxpython question: I am looking for a way to select just a line of text out of many lines of text by just clicking anywhere on the line of text, like what is shown in the attachment. Let's say I have a TextCtrl with lines of text. How would I …

Member Avatar for jworld2
0
118
Member Avatar for Dell XPS

today i was trying to make an alarm for my Pocket pc so that i can select the sound of the alarm and set it as one of my mp3 files... but in vb .net for pda i realised there is no FileDialog ready to use... any ideas... i need …

Member Avatar for Dell XPS
0
199
Member Avatar for Manutebecker

After reading up on them in terms of class hierarchy, they seem to just be almost like comments, to remind you that all classes use this sort of function

Member Avatar for ddanbe
0
261
Member Avatar for Zermoth
Member Avatar for Zermoth
0
118
Member Avatar for pocnib

I am trying to insert a date into a mysql table field using [CODE] <?php $date=date(Y-m-d); mysql_query("INSERT INTO table VALUES('$date')"); ?> [/CODE] but when I open up mysql and run SELECT * FROM table; it returns a date value of 0000-00-00 instead of the current date at time of insert. …

Member Avatar for danishbacker
0
140
Member Avatar for danishbacker

Is it possible to update the AUTO_INCREMENT value who's attributes are primary key, not null, auto increment and also an INT type The thing is I need to synchronize the 'image_id' to access images sequentially and if one row is deleted the sequence is destroyed Help me! [code] <?php include('db_conexn.php'); …

Member Avatar for danishbacker
0
254
Member Avatar for serkan sendur

let say i have authors.a and books.a, authors.a is dependent to books.a and books.a is dependent to authors.a, can i compile them together? as a c# programmer it doesnt seem possible to me, for example you are adding a project called B as a reference to one of your project …

Member Avatar for Murtan
0
104
Member Avatar for veledrom

Hi, I have downloaded Drupal but i have some questions. 1. I have read the installation but didn't get it. I need help to install it. I run WIN XP with WAMP server. 2. Can i use it in my local compuer with WAMP for test purposes. I just need …

Member Avatar for sikka_varun
0
161
Member Avatar for pocku

I'm working on a quick sort algorithm using recursion but it's throwing a stackOverflowError. Here is the code: [CODE] public static void quicksort(int [] A){ quickSortRec(A, 0, A.length-1); } public static void quickSortRec(int [] A, int p, int r){ if (p < r){ int q = Partition(A, p, r); quickSortRec(A, …

Member Avatar for neilcoffey
0
195
Member Avatar for shadwickman

Hi, I was wondering what was wrong with the following code. It creates a [i]vector <int>[/i] and assigns it the values 0 - 51. Then it shuffles these values and prints it to the screen. When I compile it, I get no errors, but when it runs, it throws an …

Member Avatar for shadwickman
0
115
Member Avatar for Tyster

Hi Folks, I am encountering what I think is a simple problem but I haven't been able to solve it. I am trying to parse a simple XML file and I keep getting the following exception... Exception in thread "main" javax.xml.transform.TransformerException: A location step was expected following the '/' or …

Member Avatar for quuba
0
1K
Member Avatar for sid78669

I sometimes wish they would have kept some features from c++ in C#. Anyways, I was trying to try an old c/c++ trick: [CODE]#define SUM 1[/CODE] but it does not work in c#. Anybody know how to declare symbols in c#?

Member Avatar for sid78669
0
106
Member Avatar for freelancelote

This's got probably an easy answer but it's been puzzling me a few hours already. The code below declares a string object and fills it character by character. I can print every single character (line 16) but I can't print the string as a whole (line 19). Could anybody tell …

Member Avatar for Narue
0
149
Member Avatar for sid78669

In c++, when we create an array using dynamic memory allocation, we are able to destroy it later on using: [CODE]delete [] array;[/CODE] is the same thing possible in c#? If i create an array in C#, then how do i delete it when i don't need it?

Member Avatar for sid78669
0
5K
Member Avatar for Passiongamer25

I need some help with my program. The program is supposed to read ID#'s for students as well as grades from a file called "grades.txt" After the program reads the the file it displays a menu as follows: 1. Publish(publish contents of file to output file called "report.txt"); 2. Search(program …

Member Avatar for ddanbe
0
651
Member Avatar for Whilliam

This is a cursor-based implementation of list inserting at the end. In the program below, the output the program will show me is the last element of my input. It is suppose to show all elements from the first input to the last. Also, after two inputs, when inserting, it …

Member Avatar for Whilliam
0
232
Member Avatar for lmastex

Hey guys. Just a question. Is it possible to use a stack class and a link list class in the same program so for example if I decide to create a list (using the link list class) and then from this list take the odd numbers and put in a …

Member Avatar for Freaky_Chris
0
106
Member Avatar for veledrom

Hi, How do i check if any of these checkboxs are selected. If nothing is selected then invalidate the form. Javascript thanks [code] <input type="checkbox" name="MYcheckbox[]" value="0"> <input type="checkbox" name="MYcheckbox[]" value="1"> <input type="checkbox" name="MYcheckbox[]" value="2"> <input type="checkbox" name="MYcheckbox[]" value="3"> [/code]

Member Avatar for brechtjah
0
159
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 veledrom

Hi, I created a XML file and trying to write into it. It does write but, without the values from database. For example code below writes only <Title></Title> without the value. It should be <Title>My name</Title>. I do echo and the variable is full. Value [code] ........ $xmlFileName="test.xml"; $process=fopen($xmlFileName, 'w'); …

Member Avatar for veledrom
0
81
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
78
Member Avatar for q8y_4u

hi guy's , iam a new member i got stuck with my c++ assigment. i really want's your help the program reads in a series of student data sets from the keyboard, stores them in an ordered linked list of records, supports editing an existing record, and displays a summary …

Member Avatar for AHUazhu
0
205

The End.