199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for boyz

Can we add two long number using linked list. If Yes then please write a simple code......

Member Avatar for WaltP
0
102
Member Avatar for boyz
Member Avatar for Jishnu
0
79
Member Avatar for Sailor_Jerry

Is there a way using javascript to grab the height of a div. The issues is that when I render my html page I have a div with a set size. It only takes up about half of the screen. When the content in that div is too large, the …

Member Avatar for MidiMagic
0
209
Member Avatar for dc_24l

hi guys need help on how to count a string in a text box for example my txtbox has this value 10.2.200.29 how can i count all the text box's content?

Member Avatar for dc_24l
0
85
Member Avatar for Gopinath_AC

hai everybody i Dont know how to validate emailid. please anybody help for this with example codings

Member Avatar for bharatsaboo
0
58
Member Avatar for marvz

[B] plz give me more sample of formula convertion in c++ ex. x=ab3 sqerut of c a <<<<like dis......how to convert in C++ plzz give me more exmple.... im a first yr.....I.T student and i want 2 learn more......more power 2 dis site[/B][ICODE][TEX][/TEX][/ICODE]

Member Avatar for marvz
0
157
Member Avatar for mark0420

who can make me a complete list of codes like this scanf()- input a data printf()- print a stirng or data blah blah plz i want a complete

Member Avatar for mark0420
0
109
Member Avatar for helixkod

i am seeing this error: error C2106: '=' : left operand must be l-value here is the code [CODE]bool swap; int numTemp; char charTemp[30]; int count; do { swap = false; for (count = 0; count < (size -1); count++) { if (array[count] > array[count + 1]) { numTemp = …

Member Avatar for Duoas
0
92
Member Avatar for adrive

I'm having some problem trying to load my results into a dedicated span/div. I found that the sequence of ajax execution is random! I need its order to be correct so that i can show a list of 'subjects' with latest added item. in a html hyperlink, i'm calling this …

Member Avatar for adrive
0
102
Member Avatar for pooranjaiswal

hi, i want to kill all the sleep process in mysql , since it is unnecesserly taking the server memory and process.. Regards Pooran Jaiswal

Member Avatar for CesarF
0
140
Member Avatar for helixkod

Heres my current code: [CODE] const int SIZE = 100; //constant 100 const int COL = 30; //number of columns int testScores[SIZE]; //test score array char students[SIZE][COL]; //student names array int numTests; //the number of tests char *namePtr; //char pointer int *numPtr; //number pointer int count; //counter numPtr = testScores; …

Member Avatar for Duoas
0
113
Member Avatar for jrice528

OK, I finally figured out command line arguments... my program is called prime, in the console i need to type "prime 7" and the program will tell me if its a prime or not. heres my code: [code]#include <cstdlib> #include <iostream> #include <iomanip> #include <stdlib.h> using namespace std; int main(int …

Member Avatar for Duoas
0
115
Member Avatar for boyz

This is different question...can anyone tell...we shld get some text as output hope u can get the question........... dont use any aruments or anything in or on main() we shld juzz keep main() function main() { } dont use C++ or any other..use only C... and this has solution.....frnds help …

Member Avatar for doublex
0
92
Member Avatar for johnnyjohn20

Hello, i am trying to count from 0 - 7 and storing the values in an array. I have been trying to do this solidly for 2 weeks :'( my attempt: ************************************** int a[20]; int x; for ( x=0 ; x<=7 ; x++ ) { a[1] = x; cout << …

Member Avatar for Salem
0
101
Member Avatar for boyz

i just want to know if subscript is greater than the size of array then either this value is stored outside of the memory located to array or sometimes do not saved and poduces error can you tell how and by whom this is decided what action to be taken

Member Avatar for biswajit.bhuyan
0
64
Member Avatar for stutco

I need a simple script to do the following... a form that a zipcode is entered into and when subbmitted returns the results matching the field zipid. Here is what I have but I can not get it to work... FORM <form method="post" action="http://alwaysaegis.com/cms2/content/results.php" target="_blank"> <div align="center"> <table border="0" cellpadding="0" …

Member Avatar for trudge
0
126
Member Avatar for lydia21

hi i am new to php.i want the login page userid to get displayed in the next page as"welcome userid".....please do tell me the syntax for passing the userid to next page.....

Member Avatar for black_ip82
0
121
Member Avatar for kobi

Hello there, How can i load an xml file,to treeview control and show it in my html page,i saw a way throw a dhtml but i failed to dominate it? Thanks

Member Avatar for kobi
0
98
Member Avatar for boyz

i develop a database program in c language there the four main contents which are access by using switch statement the each content further has other option which also access by switch but the problem isi n these subcontents last option which is exit. on enter the choice number it …

Member Avatar for zandiago
0
91
Member Avatar for sanky27

I hav to pass an array frm jsp page to servlet.Array contains the name of the field which r checked & in order they r checked can anyone suggest me how to do tht it's urgent

Member Avatar for zandiago
0
45
Member Avatar for annie212

Below is my code and I get the above mentioned error in vb.net. I am trying to pass blank in integer . Private ReadOnly Property GPLegalEntityId() As Integer Get If Request.QueryString("GPLegalEntityId") = "" Then Return "" Else Return Convert.ToInt32(Request.QueryString("GPLegalEntityId")) End If End Get End Property

Member Avatar for SheSaidImaPregy
0
141
Member Avatar for rxylion

hello guys could you help me with this problem? well you just need to use an array. Write a C program that accepts name,address,age,midterm,&final. then compute for the final rating. Use an array that allows the user to input as many as they want. Your code must display all inputs …

Member Avatar for Ancient Dragon
0
124
Member Avatar for geckoo

I was wondwring can somebody help me with my problem: how can i run my .exe, created usnig bolrand c++ on another computer wich hasn't got C++ installed maybe its a silly qustion, but i just don't konw it. ...ooops I forgot the main reason for my qustion my program …

Member Avatar for Sturm
0
141
Member Avatar for amnajvd

Hi I Am Working On This Project I Which I Need To Send Jpeg Files Over The Lan Ports To Some Device. Can Somebody Please Tell How Do I Program My Lan Ports In C++ Orc Maybe??/ Thanx Amna

Member Avatar for Ancient Dragon
0
327
Member Avatar for jrice528

What exactly does this mean?? Your program must determine the user-specified lower bound and upper bound by using command-line arguments. You will need to use the strtoul() function (from the cstdlib header) to convert command-line arguments to int values.

Member Avatar for vmanes
0
116
Member Avatar for heav_yduty

Hi! I try to make a simple internet browser. I use document SDI and base class CHtmlView. And the problem is that I don't know how to make an address bar like in IE. Maybe somebody can help me? Sorry for my English (I mean "a question about VC++6") , …

Member Avatar for heav_yduty
0
73
Member Avatar for justapimp

my application makes extensive use of the Google map and I would like to know how I can pass latitude and longitude information obtain from one page to the next. the function I like to access exist in a completely different web page located on our server. The problem seems …

Member Avatar for justapimp
0
194
Member Avatar for powellinthesout

I'm very new to C++ and want to start some beginner programs; but I also want a partner, to learn together. Post here :) ~powell

Member Avatar for Lerner
0
76
Member Avatar for joceyn226

HELP.. below is part of my code which i have trouble with it why when i choose 5 to exit.. it does not exit..but it will ask me to press any key to continue then when i press...it cum back to the main menu again.. thx for helping...really appreciate it …

Member Avatar for Ancient Dragon
0
98
Member Avatar for chetah

Requirements 1) read from output file eg: 1222222 + 2333333 3444444 - 9999999 6666555 * 7 0 2) For addition and sutraction, Number1 and Number2 should be large integers and must be stored in a link list. eg. output = 1222222 + 2333333 = 454444444(answer) 3) For multiplication, Number1 should …

Member Avatar for Jishnu
0
82
Member Avatar for amitshukla

hi, I am working on a project and regarding that i want to know how can i send a file to a computer on the LAN using C / C++ program PLEASE HELP ME OUT

Member Avatar for Salem
0
139
Member Avatar for davemcgrath

hello, I have been meessing around with a simple drawing tool. It is an example out of begining Java 2. As an extra I was trying to add a draw triangle but got a little bit stumped. I can get the button to draw a static triangle. One size one …

Member Avatar for Ezzaral
0
82
Member Avatar for HeroOfTime

Hey Everyone! Thanks for your help on my previous endevors. But, I've been working on this program for..... weeks, maybe months, and it's slowly evolved from different versions. This version uses OOP heavily, and it almost works. Okay, if you are not familiar with the '8 queens' problem, the objective …

Member Avatar for HeroOfTime
0
174
Member Avatar for samaru

Hey guys. I was thinking about writing a C++ tutorial. What do you think are the hardest topics to cover in C++? I know a lot of people have a hard time with pointers, but I was wondering what you guys think.

Member Avatar for Salem
0
401
Member Avatar for vegaseat

Things are getting quiet around the shop, seems like all the coding is done in foreign lands. Any way, let's get a thread started, a multilingual coding spree showing how to display "Hello World! (computer language used)". The code has to be a full program! Make sure you have the …

Member Avatar for sgssergio
0
1K
Member Avatar for eman resu

Hi, I am looking to upgrade (rewrite) some legacy C programs, and would really appreciate some helpful suggestions on the route to take. i.e. Should it be C++, or C# or .Net or something else? Background ========= Programs: (a) These are MS C v6 utilizing CODEBASE to read Btrieve files …

Member Avatar for Ancient Dragon
0
104
Member Avatar for dc_24l

hi guys need help on how to count a string in a text box for example my txtbox has this value 10.2.200.29 how can i count all the text box's content?

Member Avatar for debasisdas
0
66
Member Avatar for RonR

when I enter this into the caption property of a command button: Query\T & P System it displays this: Query\T_P System is there any way to fix this??

Member Avatar for debasisdas
0
60
Member Avatar for everlast

i've obtained alot of literature for vim editor and i've started working, but then i realised there aren't any books on shell scripting (at least i could'nt find any) containing many examples. can anyone suggest a good by example book on bash shell? also, what is the importance of scripts …

Member Avatar for everlast
0
79
Member Avatar for dharween0629
Member Avatar for Questions???

I am a student. I have written the following program for an assignment. The assignment is to seconds into Hours, minutes and seconds. However, I think I have done the program right, but I keep getting the following two errors: ComputeMinutesAndSeconds (int): not all code code paths have a return …

Member Avatar for Questions???
0
122
Member Avatar for tdizzle342

K , im trying make a program were when u enter a number it draws a circle. The number entered is the radius (width) of the circle. "yes i know its stupid but im just messing around " > Now my problem is that if u enter a something either …

Member Avatar for darkagn
0
162
Member Avatar for mishrarajesh44

hii.. i am getting error msg when running this program. pls verify if anybody can.. code: <?php session_start(); //session_register("username"); //session_encode(); //$url="Location:loggedin.php?PHPSESSID=".$PHPSESSID; // header($url); if(isset($_POST['submit'])) { if(empty($password)){echo "No password specified";} $connection=mysql_connect("localhost","wwwuser_raja","kalika"); if(!$connection) {echo"<b>connection not set...</b><br>";} $sel=mysql_select_db("wwwuser_raja"); if(!$sel) {echo"<b>database not selected...</b><br>";} $query="select password from users where username='".$username."'"; $result=mysql_query($query); if($row=mysql_fetch_array($result)) { if(!(md5($password)==$row["password"])) {echo …

Member Avatar for ryan_vietnow
0
91
Member Avatar for noamb

Hello all, I need to write a script that will act upon output formatted like the following example: [B]afp:state = "RUNNING" afp:usersArray:_array_index:0:disconnectID = 0 afp:usersArray:_array_index:0:sessionID = 3423 afp:usersArray:_array_index:0:minsToDisconnect = 0 afp:usersArray:_array_index:0:flags = 0 afp:usersArray:_array_index:0:state = 6 afp:usersArray:_array_index:0:loginElapsedTime = 89731 afp:usersArray:_array_index:0:name = "maryallen" afp:usersArray:_array_index:0:lastUseElapsedTime = 89725 afp:usersArray:_array_index:0:serviceType = "afp" afp:usersArray:_array_index:0:sessionType = …

Member Avatar for stilllearning
0
84
Member Avatar for teddyzhai

Hi , There: I just have a simple question by programming. Looks like this: class A{ ..... ..... Public: copy(){ return *(this); } } in .cc file: for example we have a container list<A> list; A* a = new A(...); list.push_back(a->copy()); Why is this copy() better than not use it …

Member Avatar for Duoas
0
144
Member Avatar for subtronic

I find it interesting that QBASIC is mentioned for several reasons: 1. This language and any of its predacessors are hardly used these days. And, if they are, it's most likely for nostalgic reasons. At one time, I remember, some schools used it for introductory programming courses. For a time, …

Member Avatar for menonsr
0
933
Member Avatar for pocku

Hello. I'm utterly stuck on this one part of my school assignment (for pascal). We are asked to make a calculator like program which calculates integer values only. The program has to read character by character from an input file and if something like an 'a' or # is entered, …

Member Avatar for Duoas
0
123
Member Avatar for SiPexTBC

I have a program that reads an sql file and then executes it into the mysql database. The problem is that when a file larger than 1 mb is executed, an error comes up saying the file is too large. Is there anyway that i can read, say 200 lines …

Member Avatar for mariocatch
0
128
Member Avatar for pritia

hi i have a problem here..hope u guys can help me.. i have two projects p1 n p2 in [U]vb.net windows application[/U].. what i want to do is link these two projects such that when i click a button in form1 of p1 it goes to form2 of p2...help please.... …

Member Avatar for joecasa
0
78
Member Avatar for forandom.pan

I'm new to AT&T assembly language. I read this from linux source code(kernel 2.4.0 include/asm_i386/string). [code=c] static inline void * __memcpy(void * to, const void * from, size_t n) { int d0, d1, d2; __asm__ __volatile__( "rep ; movsl\n\t" "testb $2,%b4\n\t" "je 1f\n\t" "movsw\n" "1:\ttestb $1,%b4\n\t" "je 2f\n\t" "movsb\n" "2:" …

Member Avatar for Duoas
0
128

The End.