199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LieAfterLie

I am extremely new to C++, can sum1 tell me a faster way to output stuff than cout? It either outputs too slow or takes too long to automatically scroll or something. I was trying to sort of output and refresh in real time w cout

Member Avatar for AhmedHan
0
438
Member Avatar for j4mes_bond25

Is there any way in CSS (without using any JavaScript) which allows us to NOT to have scrollbars next to "certain contents" only. I'm getting my inspiration from this website: [url]http://www.tristarwebdesign.co.uk/templates/templates/infinity/index.html[/url] My very top space is for "company's logo" & I don't want a scroll bar appearing on the right …

Member Avatar for John.Nye
0
2K
Member Avatar for aeinstein

Hi All, Short story: How do you compile two .cpp files at once? Text excerpt: "Step-by-Step 4-1: 1. Open [B]apstring.cpp[/B] and [B]stringex.cpp[/B] into a project in your compiler. The file [B]apstring.h[/B] must also be available to your compiler." All three files are downloaded from the Instructor's Text Resources of my …

Member Avatar for aeinstein
0
369
Member Avatar for aeinstein

Hi All, The program below is returning the following data... A 1 AB (empty line) 3 9 ...when it should be returning... A 1 AB 2 ABCDEFG 7 I've tried changing the assignment code statements to read [inlinecode]MyString = MyString + "B\n"';[/inlinecode] and [inlinecode]MyString = MyString + "CDEFG\n";[/inlinecode], but that, …

Member Avatar for aeinstein
0
178
Member Avatar for korbynlehr

> I am trying to code an assignment that calculates the > payments for a mortgage of a loan amount using 3 > separate rates and term years. I have it working but > it wants to calculate each loan 3 times with all > three rates and with the …

Member Avatar for peter_budo
0
145
Member Avatar for tlly

I've got a 2 tricky questions for u. Can anyone write: 1). A "Hello World" program in 'C' without using any semicolon. 2). A 'C' program without using any loop (if, for, while,etc...) to print numbers. A friend gave me those questions but up till now i have not been …

Member Avatar for Dave Sinkula
0
214
Member Avatar for AcMiller

I am having a nightmare time with an assessment task. I am only a newie at Java and I am not sure what I am doing. In the program I need to create a investment calculator that will enable the user to input a payement amount, how many payments and …

Member Avatar for server_crash
0
231
Member Avatar for fawadhq

i want to make a reservation system for my DataStructures Project. THE main requirement is that the complete data file has to be loaded in the memory and then any processing ( entry, deletion, sorting or searching ) has to be performed in the memory ? where am i going …

Member Avatar for hammerhead
0
131
Member Avatar for DATABASE

hi how can i list items from a database(MS Access) in a DropDownList in ASP.NET

Member Avatar for tgreer
0
117
Member Avatar for static

HI , i have some errors about linked list,when i made print it only shows characeters like 'ô¼'... plz help; :lol: // lets assume wordCount is 10 and vayArray is {"lower",upper}; :cool: Thank you very much Here is code:[code] struct for_char_5 { char vh5[80]; for_char_5 *next; }; for_char_5 *p, *start, …

Member Avatar for Ancient Dragon
0
131
Member Avatar for ArNy

ok iam new to programming software,so iam a bit confused.is visual basic the same thing as c++.iam guessing it isnt. does visual basic show you what your creating or??what? -thanks

Member Avatar for Comatose
0
148
Member Avatar for puddin

I have tried and again I cannot figure it out. Everything is working... Only the jpg, JEPG like these do not show up correctly... Can you see the mistake? If you do please spell it out for me. Much appreciated, again, puddin. Here is my form and process photo code: …

0
259
Member Avatar for Aubrey

Hello anyone :cheesy: , I am really new in programming with C# and know very little about it. Currently i am doing a asp website for my company as i am on a school attechment. No one here can help me. I am suspose to do a helpDesk website for …

Member Avatar for Paladine
0
186
Member Avatar for korbynlehr

Is there an easy way for me to combine these two programs? What I am wanting to use an array for the different loans. Display the mortgage payment amount for each loan and then list the loan balance and interest paid for each payment over the term of the loan. …

Member Avatar for korbynlehr
0
138
Member Avatar for bagi

Hello all, I need your help urgently.....................I have database in SQL server and using asp.net 1.1 I need to do something which like when deadline came then after every day of it, administrator has to send mail to that user something about.........User already registered with its mail address.... Please help …

Member Avatar for bagi
0
202
Member Avatar for codergem

Helo !!! I was trying to implement linked list in which the data field is Generic... the structure details are.. [code]typedef struct node { void *data; struct node *next; }gnode; [/code] Now to add a node into it, and i have written this function. [code]void insert(gnode **head,void *data,unsigned int size) …

Member Avatar for codergem
0
146
Member Avatar for Joncamp

I'm running Apache 3.0, and have a c++ cgi-bin program working fine with Apache... except the cgi-bin program wont create or even read from files it uses as a database? Anybody know the answer to this one? Thanks kindly, jon

Member Avatar for Joncamp
0
117
Member Avatar for andyux

Any help or direction is appreciated - i have a script that can write(text) something, but i dont know how to get it to run another script- sorry, it sounds elemental, just learning- thanks! intead of when true or false write (text), i need to insert another script- so if …

Member Avatar for tgreer
0
136
Member Avatar for mcrosby

Hello, I am new to shell scripting but I am attempting to create a script that connects to an ftp and downloads a folder of files. It then compares the downloaded folder on the local machine to another local folder. I am not sure how to work the compare function …

Member Avatar for mcrosby
0
159
Member Avatar for luckycharms3657

i have been working on this for some time now and i get an error message that says "Could not find a match for 'vector<int>::vector(const int, const int, const int)' " heres my code. [code] #include<u:\C Plus\LVP\gui_top.h> #include<u:\C Plus\LVP\vector.h> //-------------------------------------------------------------------------------- class ButtonClass { public: ButtonClass(String Text, int X1,int Y1, int …

Member Avatar for Salem
0
88
Member Avatar for Phaelax

I'm doing an english paper, an internal proposal memo. I chose a fake company and their problem is use of remote monitoring software which bogs down a system beyond use when its active due to the software doing complete screen dumps for the monitoring. My proposed solution is to rewrite …

Member Avatar for Salem
0
145
Member Avatar for DATABASE

[COLOR=blue]i wrote this code in the display of a page[/COLOR] sub Display() dim strcon as string ="Provider=Microsoft.Jet.OLEDB.4.0;DataSource =Sales.mdb" dim strcommand as string ="Select * from sales" dim myconnect as oledbconnection = new oledbconnection dim myAdaptor as oledbDataAdapter = new oledbDataAdapter dim salesDS as DataSet = new DataSet myconnect.ConnectionString=strcon myAdaptor.SelectCommand=new oleDbComman(strcommand,myconnect) …

Member Avatar for DATABASE
0
110
Member Avatar for dude543

This is/was an interview question I got two weeks ago. Find where the loop begins in simple linked list. I hope this figure will help understand what I mean : [code] [LEFT][1] ->[2] ->[3] ->[4] ->[5] ^ | | U [10] [6] ^ | | U [9]<- [8]<- [7][/LEFT] [/code] …

Member Avatar for dude543
0
144
Member Avatar for RichardSchollar

Given the following two code snippets, how come I get different output? [code]Sub test() Dim str As String Dim b() As Byte str = "hello" b() = str str = "" For i = LBound(b) To UBound(b) str = str & b(i) & " " Next i Debug.Print str End …

Member Avatar for Comatose
0
114
Member Avatar for DATABASE

:lol: need help!!! how can i change the value of an item of (Yes/No) datatype in a DB Using VB.NET?? assume that the column is named (a)

Member Avatar for zmind
0
200
Member Avatar for halloula

please i just a hint in how to start doing this home work [B]Notes:[/B] [I]There is no need to make use of arrays. In fact using arrays to store all customers' records is a bad design.[/I] Interstate Motorway Pty Limited requires you to design a program that will produce customer …

Member Avatar for WolfPack
0
236
Member Avatar for rubiton

Can someone please write the script for connecting to MySQLdb Also if anyone knows a good tutorial form transfering info from a python module into a MySQL table. Thanks in advance.

Member Avatar for rubiton
0
171
Member Avatar for girish_sahani

I want to generate 'substrings' from a string as follows: for each substring j of string,generate the 2 lists [j,string - j] and [string -j,j] e.g If i have a string 'abc' i want to generate the list [['a','bc'],['bc','a'],['c':'ab'],['ab','c'],['b':ac],['ac':b]] Now i tried the following but its not giving me the …

Member Avatar for girish_sahani
0
211
Member Avatar for puddin

Hello, When I select my images they are opening. Only the jpg will not come in clearly. If you know the code to correct this can you please tell me, Thanks puddin Here is my code: <?php include'db.php'; // get the variables from home page $password = $_SESSION['password']; $email_address = …

Member Avatar for digital-ether
0
197
Member Avatar for ArNy

hello iam new to c++ and i was wondering what kind of program would be the best for coding c++?thanks

Member Avatar for ArNy
0
102
Member Avatar for newgurl

Hope people dont mind (Lerner and iamthwee), but I would like to start a new post for this assignment of mine. since I think the length of the other one is putting people off and the code is now a lot different. Can someone help me finalise this (has been …

Member Avatar for Rashakil Fol
0
206
Member Avatar for MrLew

I am working on an assignment to implement an interface, but can't seem to work. It is taking forever to get a response back from the instructor, so I am hoping someone here can help me out. The book shows some syntax on how to implment an interface, but I …

Member Avatar for shan06
0
131
Member Avatar for gampalu

Hi! I built this class, however when I executed my program the memory run out quickly, because I wasn't making any "deletes", so I added the delete in the destructor, but It crashes there... what's wrong? [CODE]class CMatrix { public: void Identity(); void SetMaxColRow(int nRow, int nCol); void SetElement(int nRow, …

Member Avatar for Salem
0
358
Member Avatar for yuzhang

Hi people: Here is a very basic question, but it has been bugging the living hell out of me. I am using Visual Studio 2005 and progamming in C. The whole program's skeleton was given to me, and NOT to be altered. There are several header files in the "header" …

Member Avatar for LieAfterLie
0
105
Member Avatar for cancer10

The following code is used to set a cookie that will expire after one hour [CODE]<?php setcookie('cookieName', 'cookieValue', time()+3600, '/'); ?>[/CODE] if I want to set a cookie that should never expire, what I have to do? thanx

Member Avatar for paradox814
0
206
Member Avatar for Joncamp

I am wanting to create C++ modules to load with Linux Apache web server, to give it additional functionality while not requiring a new process to be executed. I want to do this because I believe it would be faster then cgi-bin programs which require a new process space every …

Member Avatar for Joncamp
0
100
Member Avatar for brounemmanuel

Please help me with how to use client inputs in a form as part of arguments in a CGI script following a button return. I want a client to specify a name which i can then use in perl script to create a folder for that client.

Member Avatar for demo
0
215
Member Avatar for skhan1021

Hi everyone, I was wondering if anyone out there knows how to limit the number of entries into a DB. I'm trying to build a page that will allow users to sign up for a class. Each class has a limit of 20 students per session. Any kind of help …

Member Avatar for skhan1021
0
102
Member Avatar for YoTaMiX

Hello , I wish to create a User-Defined array (1=float , 2=int) and to ALLOC the array properly. I defined void* ARR in main function and is a SWITCH (choise) i will make the desired array. why doesnt it work? Code is attached . thanks :-)

Member Avatar for Ancient Dragon
0
176
Member Avatar for ber

Hi, I'm very new to programming and Python. I need to process two separate files, one containing words, the other frquencies of these words. What is the best way to process these files and obtain a new file with frequencies*words in there? Btw i'm afraid the files cannot be read …

Member Avatar for vegaseat
0
97
Member Avatar for grautu

Hi! As a beginner in C/C++ I'm now practicing console applications under C++ Builder. Could anybody please tell me how to enlarge the default size of the programs' console? It is too litle for some of my applications and I wasn't able to find out an enlarging recipe in the …

Member Avatar for grautu
0
209
Member Avatar for Tamir

Hi all, I programed an addin which works with ms-word. I wish to parse the text of an active ms-word document and to replase some of its words and chars. [B]How can I retrieve the documents text?[/B] How can I write text into the document? AND [B]how can I replace …

Member Avatar for Tamir
0
491
Member Avatar for massoo

hi, can i run a shell script as a daemon ? the shell script looks like this : [INLINECODE] #!/bin/sh BATDIR='/' export JAVA_HOME='/usr/java/jdk1.5.0_06/bin/java' export MESSAGE_SENDER_HOME='/home/mas50o21/MessageReader/' export LIB='/lib/' export COMMONS='/commons/' export JBOSS_HOME='/home/jboss/jboss-4.0.3SP1/' export CLASSPATH=$CLASSPATH:${JBOSS_HOME}client/jboss-common-client.jar: \ ${JBOSS_HOME}client/namespace.jar:${JBOSS_HOME}client/jboss-system-client.jar: \ ${JBOSS_HOME}client/getopt.jar:${JBOSS_HOME}client/log4j.jar: \ ${JBOSS_HOME}client/activation.jar:${JBOSS_HOME}client/jboss-jaxrpc.jar: \ ${JBOSS_HOME}client/mail.jar:${JBOSS_HOME}client/jboss-saaj.jar: \ ${JBOSS_HOME}client/jboss-j2ee.jar:${JBOSS_HOME}client/jboss-transaction-client.jar: \ ${JBOSS_HOME}client/jmx-invoker-adapator-client.jar:${JBOSS_HOME}client/concurrent.jar: \ ${JBOSS_HOME}client/jboss-deployment.jar:${JBOSS_HOME}client/jbossx-client.jar: \ ${JBOSS_HOME}client/jbossmq-client.jar: \ …

Member Avatar for radix
0
250
Member Avatar for j4mes_bond25

I've set the "smtp" in "Config.php" in order to receive mail to my address so that all the fields filled by user gets to me, after they press "Submit" button in my "Contact.php" Things seem to have improved a little & all I'm getting is just a "Warning message": Warning: …

Member Avatar for j4mes_bond25
0
125
Member Avatar for newgurl

Hello, I am stuck on an assignment I am working on. To be honest, the way I've structured it, it goes a bit beyond me. Can someone kindly assist? I have to get the following text: 3435344 @ L Brooks,12 Shaftsbury Road,Burwood NSW 2134 3435344 A 2005/02/22/08:22:41 3435344 A 2005/03/20/08:22:41 …

Member Avatar for newgurl
0
359
Member Avatar for lette

:sad: There's something wrong with Visual Studio .Net 2003 every code I write, it could even be a simple cout code, ends up giving me 216 build errors no matter what. All the build errors are from c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include I have a final due and I …

Member Avatar for soniona
0
919
Member Avatar for Zayed

<?php $SearchType = $_POST["SearchPlace"]; $host= 'localhost'; $user= 'user'; $passwd= 'password'; $database= 'dbase'; $table1= 'BUS'; $table2= 'STUDENT'; $connect= mysql_connect($host, $user, $passwd); mysql_select_db($database); $pquery = "select busNo from $table1 where place like '".$SearchType."'"; $squery = "select * from $table2 where busNo like '".$pquery."'"; $run = mysql_query($squery); $num_results = mysql_num_rows($run); if (!$SearchType ) …

Member Avatar for cdwhalley.com
0
175
Member Avatar for playkid
Member Avatar for yuzhang

Hi people: Here is my problem: Codes: (My program is in the exact order as being represented here) [CODE] void push1(CStack stk) { stk.push(1); } int main(void) { CStack mystack; printf("Stack initially: "); mystack.print(); push1(mystack); } [/CODE] As you may read from above, the push1() function does not work at …

Member Avatar for yuzhang
0
122
Member Avatar for DATABASE

hi how can i create a splash screen using NB.Net ? it was easier using VB6 .:rolleyes:

Member Avatar for kaushik259106
0
288

The End.