199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Daan

I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development environment like MS Visual Studio or Anjunta. I'm progamming on a Linux computer, and I use Gedit to …

Member Avatar for joe_blow
0
87
Member Avatar for parani

Hi All, I want to know if there is any way to exit from both the parent and child loop simultaneously without adding any kind of conditional statement. ******************************************************** [COLOR=sandybrown][B]#!bin/ksh a=5 if[[ $a -gt 5 ]] then echo "a=5 and not went to else cdn." else if [[ $a==5 ]] …

Member Avatar for jim mcnamara
0
150
Member Avatar for drahmani

Okay so I looked everywhere and thats why i ended up here hoping u guys could help me.So recently my computer got all this spyware crap and i had to basically completely clean up the computer and when i did and was finally able to get on the internet again …

Member Avatar for FC Jamison
0
289
Member Avatar for MrAdam

Hey everyone. I've been checking out this forum for a while, but this is my first post. I have a question that I hope someone can answer for me. I have been working on learning C++ for about 2 months now and am beginning to grasp the basics more and …

Member Avatar for hollystyles
0
142
Member Avatar for steve_randle

hi.. i would like to compare a user-input string with another string to see if they matched so what should i do? sample code: [CODE] getline(cin,string); if((i==25)&&([I]string comparsion here[/I])) do this; else if((i==25)&&([I]similar string comparison[/I])) do something else; [/CODE] so what should i do? i tried [CODE]const char* str = …

Member Avatar for steve_randle
0
148
Member Avatar for hbmarar

Hi , Wishes. I am not sure why it happens so but i would like to request experts in solving this. plzz when i browse this link, [url]http://tech2sol.com/sonoma/scvmap/index.php?x=602&y=769&zoom=6[/url] it gives me no data image as it should but there is the respective image in ther server. Image could be viewed …

Member Avatar for hbmarar
0
169
Member Avatar for GavinC

[COLOR=Black]Hi there all. I have a problem with a date situation. I have a form that needs to look for a specified date in an Access database. I have managed to do the following: 1. When the date is enterd it is entered as follows [/COLOR]"[COLOR=Red]2006/07/09[/COLOR]" [COLOR=Black]so when response writen …

Member Avatar for GavinC
0
96
Member Avatar for sujagr8
Member Avatar for sujagr8
0
107
Member Avatar for bigfoot_80906

In unix there is a -p tag for the mkdir command. Is there a similar tag in Perl?

Member Avatar for KevinADC
0
239
Member Avatar for tefflox

here is the code, which is meant to output a string of about 50 characters made of — and  , in random color for the dashes, with the dashes occurring only in pairs. I get a "0" for the final output. [code] function flow() { $ar = array( 0 => …

Member Avatar for tefflox
0
100
Member Avatar for nlsna17

[CODE]# include<iostream.h> void main() const int m=3; const int n=4; const int p=5; int A[m][n]; int B[n][p]; { cout<<"3x4 matrix"; for(m=0; m<3; m++) { for(n=0; n<4; n++) cin>>A[m][n]; cout<<A[m][n]<<"\t"; } cout<<"\n"; cout<<"4x5 matrix"; for(n=0; n<3; n++) { for(p=0; p<5; p++) cin>>B[n][p]; cout<<B[n][p]<<"\t"; } cout<<"\n"; int d, c=0; for(m=0; m<3; m++) …

Member Avatar for dilip.mathews
0
168
Member Avatar for LostOne85

I need to create a Java program that uses a 3x3 neural network to accept tic-tac-toe moves and output what the next move would be. How would you even begin to write something like this? I need to do this by Friday!!! Example code would be very helpful.

Member Avatar for JeffHeaton
0
89
Member Avatar for mitchelltab

[COLOR=black]This is the program. Re-using the tuition calculations from Lab1, and write a program to do the following:[/COLOR] [COLOR=black]Read student classifications and numbers of units from the [/COLOR][B][COLOR=black]data file [/COLOR][/B][COLOR=black]LAB2IN.TXT. (No error[/COLOR] [COLOR=black]checking of data read from input file is required.) Then write each student's resulting tuition to a[/COLOR] [COLOR=black]second …

Member Avatar for Dave Sinkula
0
187
Member Avatar for djkross

So I have this sorting program due and I did it all but there's something crazy happening when I run the program. If I enter a value that's greater than 6400 for the size of my array, the program crashes when it tries to sort it out. Also, when i …

Member Avatar for djkross
0
76
Member Avatar for invokers

i am wrking on a project which is supposed to count packets that are sent and recieved in a LAN environment........i want help ragarding this....can anyone give ma a java code for counting packets in a network...

Member Avatar for invokers
0
118
Member Avatar for Harneet

Dear Friends, I'm having problem with this Parse Error. Can anyone please help me out. [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/mnt/w0400/d35/s32/b024de92/www/Catalog/nfoscomm/catalog/includes/languages/english/shipping.php[/B] on line [B]16[/B] Here is the code: [php] <?php /* $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 …

Member Avatar for cdwhalley.com
0
222
Member Avatar for blazinking

hi all, I'm new to site {nice work on the forum ;) } and to c++ in general. I've started a class in the subject not to long ago and have hit a snag on one of the programing projects i was asigned to do ... I just cant figure …

Member Avatar for WolfPack
0
147
Member Avatar for Lun

is it possible to change the space into underline? coz i don't know how to program that in C... please help!!

Member Avatar for ~s.o.s~
0
102
Member Avatar for joshilay

int i=0,j=1; cout<<(j++)&&(i++); //output=1; i=0,j=1; printf("%d",(j++)&&(i++)); //output=0 can anyone please tell why this difference in output ???

Member Avatar for ~s.o.s~
0
93
Member Avatar for Rotak

Hi! I am writing a tool, that uses a HSQLDB database. The databases can get pretty big (the test DB is 21MB). I am using a standalone DB, so my application also acts as the DB-Server! Here's the problem: I want to show a message like "Loading database... Please wait!" …

Member Avatar for Rotak
0
130
Member Avatar for lorraine1000

Hi i having a few problems what i need to do is find duplicate rows in a mssql database i can do from one table but i need it to run across 2 tables this is the code i useing to do one table SELECT COUNT(*), sID1, sID2, sID3 FROM …

Member Avatar for lorraine1000
0
109
Member Avatar for sergiofmolina

[COLOR=#0000ff][B]Hello, I am new at this forum. I am trying to figure out how, if possible at all, to transfer data from an asp .net page into a javascript script in an HTML page. [/B][/COLOR]

Member Avatar for hollystyles
0
98
Member Avatar for pokahantos

Hi every body, I am suppose to develope a web site contains access DB using ASP.NET but, unfortunatly i have no background about ASP.NET so I was wondering what i have to do first.... if any one could advise me about this, how i begin learning, books, sites, e-book.. etc, …

Member Avatar for hollystyles
0
140
Member Avatar for moe1983

[B][U][COLOR=#000000]part iII: project[/COLOR][/U][/B] [B][U][COLOR=#000000]Problem 1[/COLOR][/U][/B] [COLOR=#000000] [/COLOR] [COLOR=#000000]a- Compute the median of a data file. The median is the number that has the same number of data elements greater than the number as there are less than the number. For purposes of this problem, you are to assume that the …

Member Avatar for WolfPack
0
376
Member Avatar for shadevar

Hello, This is my first post here, although I have been browsing these forums for a while now, and I must say this is quite an informative place. I have a small question that I would like to post, more to verify if I am correct or not in how …

Member Avatar for shadevar
0
117
Member Avatar for Seba Sama

Hi can anyone help me on how to get the names of the tables from a DB - MSSQL 2k server? i need to list them or add them into a combobox, but i also need to select them by owner, or by type. user defned or system. thx in …

Member Avatar for Seba Sama
0
468
Member Avatar for dilip.mathews

I have to write a function which takes an integer array as input and it should return true if the array contains 1,2,3 or 4. Conditions 1) The function should pass thru array only once. 2) Can use two local variable. 3) Preferably using bit manipulation. Now suppose if the …

Member Avatar for WolfPack
0
135
Member Avatar for karkar_87

Hi, I need some help for my project. I had finished up my login page and I can be logined. The problem is that I want to allow new users to register themsevles before they can login but I have used various way I can't be directed to the Register.aspx …

Member Avatar for gurudatta.verma
0
119
Member Avatar for bkelly

Two questions: 1. What function will output N bytes of data? The data may contain and may end with numeric zero. 2. What function will cause the process to suspend for N milliseconds? An explanation for question 1. [code] struct modbus_structure { char device_address; char function_code; UINT function_address; UINT address; …

Member Avatar for Dave Sinkula
0
293
Member Avatar for maharba

I have a question. I'm writing a small program in c++ for my kid to help her with maths and to teach myself how to program. I'm using srand() to get a few random numbers for her to divide with the number she choose. All is fine until I get …

Member Avatar for bkelly
0
104
Member Avatar for sciocosmist

I am having some trouble trying to get a JApplet to display in a Browser. The [applet](http://javafaq.nu/images/smiles/icon_sad.gif) does compile and does come up (displays) in a Microsoft Windows window frame, but does not display in a browser. I have several components that I place in JPanels and successfully place those …

0
70
Member Avatar for AndrewSmith

Hi guys I have a string (read from a text file), and i need to be able to pull out the value in the quotation marks. For example: if my string is <img src="hello.jpg"> , I need to return hello.jpg. The tough part is that there can by any number …

Member Avatar for campkev
0
116
Member Avatar for freesoft_2000

Hi everyone, I do not actually have web page i can test this with but would really appreciate anyone with experience on this topic. You see i am trying to upload a html page called wt.html from my disk to a website called [url]http://www.rt.com/rf/wt.html[/url] using the HttpUrlConnection by first authenticating …

Member Avatar for jwenting
0
93
Member Avatar for nwiner

[code]#include <iostream.h> int fred[] = { 11, 22, 33, 44 }; int *fp; int main(int argc, char *argv[]) { for (int i=0; i<argc; i++) cout << argv[i]; cout << endl << "Hello world." << endl; fp = fred; cout << *fp++ << *fp++ << *fp++ << *fp++ << " - …

Member Avatar for nwiner
0
108
Member Avatar for abayden

Hi, I am having trouble with wxPython on SUSE Linux Enterprize Server 9. The Computer has several Itanium 2 processors, and the version of Linux is for these processors. Python works just fine. So do other graphical toolkits Tkinter, pygtk, and qt. However when I try to use wxpython it …

Member Avatar for bumsfeld
0
133
Member Avatar for dudecut2000

guys i ve just installed php in my machine!! i am getting parsing error resulting in a blank page!! the code is as follows <HTML> <HEAD> <TITLE>My first PHP program</TITLE> </HEAD> <BODY> <?php ----->print(“Hello, cruel world"<BR><BR>\n”); phpinfo(); ?> </BODY> </HTML> when running with the arrow part commented it is running …

Member Avatar for dudecut2000
0
113
Member Avatar for bklurch

Already typed my post once, having to do it again.... With the following code in MS SQL 2K: SELECT Users.*, Trainers.FirstName AS TFirstName, Trainers.Surname AS TSurname, Trainers.DisplayAs AS TDisplayAs, Trainers.DIRealname AS TDIRealname, Trainers.UserID AS TUserID, Trainers.TrainerExpiry AS TTrainerExpiry FROM Users LEFT OUTER JOIN Users AS Trainers ON Users.UserTrainerID = Trainers.UserID …

Member Avatar for bklurch
0
418
Member Avatar for hasan2003

hi every one .... thanks for comming to this thread ... Dose any one know how to separate mantissa and exponent of a double and store them in two integers? :?:

Member Avatar for Melldrin
0
2K
Member Avatar for scharan

Hi all, This is charan new member of this team. Iam having one Question to all of you What is the difference between static and dynamic Dll and how the mechanisim of static dll goes in VC++ --------------------------------------------------------------------- [quote=neuronco]You can have a DLL without DllMain function. Its purpose is for …

Member Avatar for Ancient Dragon
0
196
Member Avatar for comp_sci11

can someone help me about creating a window in turbo c?? because i can't find anything about creating a window in turbo c! is there a site explaining or about creating a window in turbo c??

Member Avatar for Ancient Dragon
0
177
Member Avatar for krayJ

[code] { int input; cout<<"Please select a number from 0 to 127: "; cin>>input; if (input<127 && input>0) MarkNumber(input); else cout<<"Please enter a number from 0 and 127!"<<endl; } void MarkNumber(int input) { int loop=0, n=0; while (loop!=input) { cout<<n; n++; //incrementing number from 0 loop++; //incrementing counter for loop …

Member Avatar for dilip.mathews
0
102
Member Avatar for knorden

Hi all. I am new to C, at least to the concept of pointers. I am trying to write a process scheduling simulator for my operating systems class (at the last minute of course). Anyway, I wrote a program just using arrays and got it to compile but then of …

Member Avatar for knorden
0
111
Member Avatar for Shital Parab

I am novice of c++. How to set co-ordinates of console using c++? e.g. what to do if i wanna print pyramid of astericks at the center of the screen. should i use gotoxy(x,y) function to go to the center of the console?

Member Avatar for WaltP
0
87
Member Avatar for chepps

Hi, Iam a new comer.Joined today.Would like to clear one of my doubts. I have a doubt regarding the columns in datagrid. Iam using vb.net2005 (win application) I have a typed dataset, with the column names as that of the database(sql) table fields.i had set a datagrid's datasource to this …

Member Avatar for chepps
0
69
Member Avatar for bkelly

I have opened COM1 for I/O and need to input data. How do I check for data without being stuck if there if the port has not received any data? The compiler is lcc-win32 running under Windows XP. Thanks, bkelly

Member Avatar for bkelly
0
183
Member Avatar for NavidV

;) Hello, I have just started to learning C++. I have a question regarding a small code snippet that I am having trouble with. I get a compiler error saying that there is a parse error before the { token. Can anyone help me with this? Thanks, Navid Here's the …

Member Avatar for NavidV
0
97
Member Avatar for CoffeeDude

Hi, I am pretty new to Visual Basic 6 and I'm having a problem with a small program I'm writting for fun. Now when I do the following: [code]If ClockTime = #6:52:50 PM# Then [/code] The whole code works 100% find and dectect that the time has hit that time. …

Member Avatar for CoffeeDude
0
87
Member Avatar for himanjim

Can u anybody of u explain me how the following statement works?? y=x++<=5;:!:

Member Avatar for Dave Sinkula
0
79
Member Avatar for mhakhubexxx

[B]Create a flowchart that inputs an amount and output the denomination breakdown by 100,50,20,10,5,1. e.g. Amount: 237 Output: there are 2 100 peso there are 0 50 peso there are 1 20 peso there are 1 10 peso there are 1 5 peso there are 2 2 peso Hope you …

Member Avatar for WolfPack
0
90
Member Avatar for Shadowchaser

Hey everyone, I'm a student at a local community college and working on my last project for the summer. I've been working on this script for the last two days and cannot figure out what I'm doing wrong here. Hoping that some of you might be able to figure out …

Member Avatar for jim mcnamara
0
131

The End.