199,114 Archived Topics
Remove Filter ![]() | |
Can we add two long number using linked list. If Yes then please write a simple code...... | |
is there any method to print a character or string without using ; ? | |
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 … | |
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? | |
hai everybody i Dont know how to validate emailid. please anybody help for this with example codings | |
[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] | |
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 | |
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 = … | |
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 … | |
hi, i want to kill all the sleep process in mysql , since it is unnecesserly taking the server memory and process.. Regards Pooran Jaiswal | |
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; … | |
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 … | |
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 … | |
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 << … | |
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 | |
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" … | |
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..... | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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. | |
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") , … | |
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 … | |
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 | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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? | |
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?? | |
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 … | |
can anyone help me minimize the size of an image using java? | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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, … | |
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, … | |
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 … | |
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.... … | |
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:" … |
The End.