199,114 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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 … | |
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, … | |
> 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 … | |
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 … | |
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 … | |
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 … | |
hi how can i list items from a database(MS Access) in a DropDownList in ASP.NET | |
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, … | |
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 | |
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: … | |
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 … | |
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. … | |
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 … | |
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) … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
[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) … | |
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] … | |
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 … | |
: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) | |
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 … | |
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. | |
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 … | |
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 = … | |
hello iam new to c++ and i was wondering what kind of program would be the best for coding c++?thanks | |
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 … | |
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 … | |
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, … | |
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" … | |
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 | |
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 … | |
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. | |
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 … | |
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 :-) | |
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 … | |
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 … | |
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 … | |
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: \ … | |
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: … | |
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 … | |
: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 … | |
<?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 ) … | |
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 … | |
hi how can i create a splash screen using NB.Net ? it was easier using VB6 .:rolleyes: |
The End.