199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Petrock6

Well, I'm starting to get into C++ and well.. The only commands I know are simple I\O commands, so, I've programmed in C and if you know C you know that in windows.h you can do say System(""); to execute somthing in the command prompt. The thing is, I don't …

Member Avatar for mitrmkar
0
112
Member Avatar for nish88

hi.... i have an image Oscillator.gif and i want to implement the animation which is being shown by this image. can anyone tel me how to do this. or can you please give me some links or tutorials where such programs are being wrote. thanks you very much

Member Avatar for nish88
0
88
Member Avatar for katharnakh

Hi, Im new to JAVA and i have a question. The following code compiles fine and executes fine. But if you assign [icode]c = '\29' [/icode], in the following code, the compilation fails. 1. How does JAVA interpret [icode]char c = '\21';[/icode] and [icode]char c = '\29';[/icode], as escape sequence …

Member Avatar for katharnakh
0
118
Member Avatar for IT_Techno

hi every one, i need some helpe on asp.net with c# components , i have some text boxs and labels i need to reset the textbos and labels' text to be empty when i click explorer back button i need to rest them to empty and when i click refresh …

Member Avatar for IT_Techno
0
113
Member Avatar for mcx76

I am not programmer.I am designer. I want to make website.Where i can update text and image from admin panel. Is there any script or any software avaliable.which i can use to update website.I have attached the image.how i want to do. Thanks a lot

Member Avatar for nav33n
0
87
Member Avatar for nish88

hi everyone.....i'm designing a simulator and i need to study John Conway's Game of Life. i'm getting the source code in java or c++ everywhere i search. Have anyone ever implement it using python or can you please give me a link where i can find the source code in …

Member Avatar for nish88
0
139
Member Avatar for nish88

hi everyone. i'm try to load an image by clicking on a botton insert imag but the problem thata i having with this is that the image is not being insert it just appear and disappear immediately. can anyone tell me what is wrong with my codes and tel me …

Member Avatar for nish88
0
125
Member Avatar for naju

i have a function lets say function myfunc() { echo 'hi'; } now the code may call the function [B]myfunc[/B] more than a time but there should be only one time echo of 'hi' pliz help anything could work .... but all my effort in vain static variable ???? global …

Member Avatar for naju
0
76
Member Avatar for Petez

Hi well ive got school project and well found this site looks like real deal not like the fake ones ive registered 2 and this site can really help?... Well ive done most of my programmeing just cant figure the search code i cant get..... I need to say type …

Member Avatar for ExplainThat
0
181
Member Avatar for ravi_techinc

I would have the help from any one to do the program for simulating the algorithms of page replacements in operating system concepts in any programming languages.If it is not possible to say ,please give me other assistance such as other web sites or other references for this as soon …

Member Avatar for Rachnamb
0
104
Member Avatar for bobweir

I'm working on a project that i can't seem to get done. when i try to write my constructors the compiler tells me it can't find the symbol. any idea why? here's the code. public class Student { String name= "XXX XXXX"; String studentid="XXXXXXXX"; String major="XXXX"; String studenttype="Invalid student type"; …

Member Avatar for masijade
0
179
Member Avatar for hassanawdah

[URL="http://www.fatayat.net/ccsi/preview.php?pre=slove&id=1146"]http://www.fatayat.net/ccsi/preview.php?pre=slove&id=1146[/URL] please im new in this language thank for us

Member Avatar for SamiMarufi
0
100
Member Avatar for kings

Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use.

Member Avatar for kings
0
130
Member Avatar for hwa

My problem is I want to add in a value to a LABEL based on selected value in the DropDownList !! Example: tbl_abc ID [COLOR="Red"]Sequence [/COLOR] Name ----------------------------------------------- 1 [COLOR="red"] 2[/COLOR] Michael 2 [COLOR="red"] 3[/COLOR] Jenny 3 [COLOR="red"] 4[/COLOR] Max 4 [COLOR="red"]4[/COLOR] Max 5 [COLOR="red"] 2[/COLOR] Michael 6 [COLOR="red"] 4[/COLOR] …

Member Avatar for hwa
0
173
Member Avatar for tlox

(I am trying to write a c++ program which computes sine of an angle without using c math library.I came up with a formula for this problem.The formula should use a factorial function in the program.I have a problem in doing this and hence i posted my code here for …

Member Avatar for vmanes
0
347
Member Avatar for sbv

Hi all...... Here is my requirement. I am clear with my logic. But i am blocked at Code. How can i get this... Here is the example... I need to produce a Score card. Where i need to calculate score of a dealer as per Question category and the Customers …

Member Avatar for sbv
0
204
Member Avatar for hafhag

Thank you for your advancing helping. I do have a problem in how to encode a bank account that has : 1. account number,user name , intial deposit and balance (updatable) 2. that a specific user can see his balance 3. a user can withdraw money 4. a user is …

Member Avatar for jephthah
0
69
Member Avatar for majestic0431

Hello, Is it possible that someone can help me with the following program? There are 500 light bulbs (numbered 1 to 500) arranged in a row. Initially they are all OFF. Starting with bulb 2, all even numbered bulbs are turned ON. Next, starting with bulb 3, and visiting every …

Member Avatar for jephthah
0
197
Member Avatar for Ryano24

I have to do a code in De Morgans law show that 2 expressions are equivalent. I not even sure if I am going in the right direction. Can somebody steer me right original expression - ! ( x < 5 ) && ( y >= 7 ) De morgans …

Member Avatar for jephthah
0
2K
Member Avatar for severman

could any 1 tell me why this code isnt working right?? two.txt is not wriiten good... this is the code [code=c] #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> #define LEN 30 #define LENST 6 int *saveid[5]; char *savename[5]; unsigned *savegrd[5]; unsigned *saveavg[5]; int j=0,k=0; int min=0; int skip[6] = …

Member Avatar for Aia
0
109
Member Avatar for alivip

how to ingrate my code to read text in in parent folder contain sub folders and files for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name Camry and file name corolla, file name Honda contain folder accord and BMW contain file …

Member Avatar for jrcagle
0
104
Member Avatar for amitahlawat20

I am facing a problem in void pointers in c++. Have a look at the following code: [code=cplusplus] #include<iostream.h> int main() { void *ptr; int x=3; float y=2.35f; char c='A'; ptr=&x; cout<<endl<<*ptr; //line 1 ptr=&y; cout<<endl<<*ptr;// line 2 ptr=&c; cout<<endl<<*ptr;//line 3 cout<<endl; return 0; } [/code] I am getting the …

Member Avatar for sahil_itprof
0
151
Member Avatar for nofullstop

Hi, I'm trying to find a way to create a CheckListBox for ASP classic. I've been using ASP.Net before and this control is already included. I'm kind of struggling with ASP classic but it's part of work so :'( ... Anyways if there is no definite control for CheckListBox for …

Member Avatar for nofullstop
0
99
Member Avatar for smrhab

Hi I am kind of stuck on one aspect of a project that I am currently working on. I have a code for a number guessing game in "C" I need the program to ask the player if they want to play again after the game is done and. I …

Member Avatar for WaltP
0
136
Member Avatar for Waseemn

Hello All I am trying to format my program's output to be nicer than what it is doing now, and am looking for something equivalent to the noshowpoint that would act on the fixed manipulator. Here is the story: I have a sequential integer number that is acting as a …

Member Avatar for vijayan121
0
104
Member Avatar for mattieu

I am having with some problems with a project I am working on. I need to output simple statistics of the "ps -ef" using the line "ps -ef | a.out", a.out being my program. To store the information I need to use a Hashtable of Linked Lists, without using STL. …

Member Avatar for mattieu
0
148
Member Avatar for BenWill

Hey all, first post here and im also very new to PHP, but been having major headaches over one query. The query simply inserts some data into a table, which i've done in myphpadmin, the myphpadmin looks like this: Registration_ID int(10) No auto_increment Registration_Date date No Academic_Year int(2) No Year_of_Study …

Member Avatar for BenWill
0
124
Member Avatar for kako13

Hi, I have to implement a class called linked list that must read from file the following information about persons: name, social security and age. Then I have to implement some methods for manipulate the data. The problem is that I don't know how to start the implementation, because I …

Member Avatar for kako13
0
118
Member Avatar for 1337455 10534

So I have a pyGTK app going on nicely, but it requires sudo permission (under Linux) to perform a BASH operation. If I prompt for a password using a GUI, is there any way I can do my BASH stuff without sudo asking the user for a password in the …

Member Avatar for 1337455 10534
0
208
Member Avatar for 666kennedy

hey there guys. this im officially my first post on this forum. seems pretty impressive how much there is on offer, however its only C++ im looking for assistance with today. i have two questions. i am creating a program with lots of variables, most of which should be random …

Member Avatar for 666kennedy
0
110
Member Avatar for littlegreen

Hi all, I would like to know how to assign and get the form value when I using it in a [COLOR="Red"]loop[/COLOR]. I cannot get all the input that I inserted in '[COLOR="red"]Desc[/COLOR]' part and it is from[URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"] [COLOR="red"]this site[/COLOR][/URL]. May I know to get this work when I do …

Member Avatar for Free_Man
0
249
Member Avatar for -genESIS-

Hi everyone. I have a quick question regarding a 2d dynamic array, and how to print it. Here is the code I have so far: [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> #define merror() {printf("Memory allocation problem \n");exit(1);} int main() { int i,j,k,z; int size; char buffer[21]; char buf[21]; char** …

Member Avatar for jephthah
0
111
Member Avatar for huglybits

I would like some advice as to how to write my wc program. Program should accept a file name as input and then print three numbers showing the count of lines, words and characters in the file. Chapter 4 question 15 of zelles introduction to python

Member Avatar for misty_mirage
0
518
Member Avatar for eparse

hi all experts here, i am currently doing my web project using PHP and facing no clue for the database connection between 3 tables....here it is: i'd created 3 tables, one keeps users' username, password, and id....the other keeps the details that user input from a form...both contain a common …

Member Avatar for peter_budo
0
65
Member Avatar for Waseemn

Hello All I an taking a class in C++. Though I have had many years programming, it is an introductory class because one needs to learn the syntax and rules of the new language. I am writing a program that stores data in a file, and retrieves data from a …

Member Avatar for Narue
0
100
Member Avatar for Zelores

Hey guys, I got another stupid question. For my last assignment, I have to take a .txt file that has contacts in it, import it into python (already did that) and use it to search with. the file goes last name first name number # repeats about 4 more times. …

Member Avatar for vegaseat
0
105
Member Avatar for SheSaidImaPregy

I was wondering, I am doing my best to eliminate a lot of Database queries that are unneeded in order to increase performance. However, this is a tough task as each solution has its own drawback which I then have to compare to see which ones would be better performers, …

Member Avatar for SheSaidImaPregy
0
146
Member Avatar for cbattagler

Hello, I am trying to send directory names through the command line to program I am writing. This works perfectly until I add a space to the directory. I have tried adding Quotes around the directories and everything. The problem is then with the \ at the end of the …

Member Avatar for cbattagler
0
94
Member Avatar for shadwickman

Hi, I have a string that I want converted to an integer. I tried int() but it doesn't work because of what my string (as an example) is "2*2/4". I want it to make that into an integer and just put the answer (1). Is there a simple way to …

Member Avatar for shadwickman
0
116
Member Avatar for daviddoria

I wrote a simple class: c:\geometry\Point.h c:\geometry\Point.cpp I made a VS2005 project and added a Source File test.cpp which contains main(). In test.cpp, I #include "c:/geometry/Point.h" When I build the project I get: Unresolved external symbol "public: __thiscall Point::Point(double,double,double)" referenced in function _main. However, if add Point.h to my Header …

Member Avatar for daviddoria
0
112
Member Avatar for Crazycfk

someone showed me their code for their conversion program and left before I could ask question about how his program works q1:how exactly does "*" this work when not applied for mutipling? q2:does "a_base" and "b_base" work with this function unsigned long base2dec(char str[],int base) and does it have to …

Member Avatar for Crazycfk
0
110
Member Avatar for ghaith

Hey, I'm new to Socket Programming, and i've only learned C recently so probably what i'm asking will be very obvious, sorry in advance (= ok Here's my code [code=C] /* * File: Inside_Client.c * Author: Ghaith Hachem and Adel Youssef * * Created on March 17, 2008, 6:12 AM …

Member Avatar for jephthah
0
236
Member Avatar for mzdiva041986

This is the program and I have 5 errors that I can't seem to get rid of, it was a Fortran 95 program that I had to translate into C++. could somone please help me. [code=cplusplus] #include <iostream> using namespace std; int main() { //Declaration and Intialization float XL = …

Member Avatar for mzdiva041986
0
104
Member Avatar for maydhyam

Hi There, Can anyone explain to me this line of code? What is it used for? etc.. [ICODE]$HTTP_POST_VARS['command'][/ICODE] The text that I saw it in doesn't explain it...

Member Avatar for dgreenhouse
0
142
Member Avatar for leroi green

ok guys, I've got an issue where a computation is just not working but I've used the same set up in other programs and don't truly understand the deal with this one. at the beginning of the below if (the whole program lower) statement i find if a number is …

Member Avatar for leroi green
0
116
Member Avatar for vinodkelbaikar

Hi Frnds, I need your help. I want to retain the spsces between the characters while displaying on web page. Actually the view source shows the spaces inserted in form while filling but while displaying the spaces gets converted to single space like e.g. ABC DFG = ABC DFG I …

Member Avatar for jwenting
0
76
Member Avatar for sunflowerz

Hi there! :) I am currently creating a website that needs to be editable by the client and have been looking into free online WYSIWYG editors. I have been focusing on FCKeditor, but also looking into TinyMCE. I managed to partly integrate FCKeditor - it saves the text, but doesn't …

Member Avatar for MoonKa
0
134
Member Avatar for bhoot_jb

i hav coded a matrix class and its member functions (many of them are overloaded ones)...now in a function..for eg. function of matrix addition.. [B]after the addition i want to return the local object "result" through a pointer (and not call by value)..however i aint getting d values of the …

Member Avatar for bhoot_jb
0
259
Member Avatar for zidaine

hi!.. I'm a newbie with this, pls help me!! every time I install apche 2.2 in my windows xp, I alway get an error. "could not reliably determine the server's fully qualified domain name" and "only one usage of each socket address"

Member Avatar for hawisme000
0
295
Member Avatar for trashed

Hi guys. I have a DB table looking like this: #DATE #NAME #C1 #C2 2007-08-27 user 1250 2294 2007-08-28 user 1816 3096 2007-08-29 user 89 3153 2007-08-30 user 71 2986 [..] I started collecting data in late August 2007 and it's being updated every day. I want to fetch the …

Member Avatar for pritaeas
0
147

The End.