199,125 Archived Topics
Remove Filter ![]() | |
I have a block of MIPS code that implements a pseudo-instruction operating on the values from two registers. The problem is i am having trouble undertanding what it does. The code is: sll $t0, $s0, 31 srl $s0, $s0, 1 srl $s1, $s1, 1 or $s1, $s1, $t0 I think … | |
I don't have much time to say this but I'm going to try and hurry... Here's a snippet of code: [quote] $subName = "someName"; include "contentHeader.php"; [/quote] Inside of contentHeader: [quote] echo $subName; [/quote] -------------------------- I know that this variable is correct because I had tried to use it on … | |
I am taking grade 12 programing and in the course, you can make any program in any language for a final project, and I want to do one in python, but I dont know what to make, I need help to come up with an idea for a rather useful … | |
Hey everyone. I dont know if anyone here can help me but I run a site powered by the Joomla CMS. I wanted to design a component for my site and I was wondering if i could use C++ to design it instead of PHP and just use the 'system' … | |
Hey guys. Ive been trying to write this program for a while and I keep getting errors on line 78, "Circle undeclared." I think it has something to do with the constructors and templates. I dont think im calling it right. Can someone take a look at it for me … | |
I have an algorithm problem with recursion: i have a route from A to D and it looks like this [CODE] [A, B, C, D][/CODE] the alphabet in the above list is an object of a class, lets call that class Nodes each of this Nodes object they have some … ![]() | |
I just start learning C++. I thought I can access an integer array by using pointer arithmetic method. why does the first program work but the second one does not??? [code] #include<iostream> using namespace std; int main() { int array [5], i, *p; for (i = 0; i < 5; … | |
Hi, I am having a problem with function and class syntax. I have one class (MakePanel1) that creates a button and label. The button-click event of the button is linked to a function (daclick1) that changes the text of the label. This works well. I have another class (MakePanel2) that … | |
Hi, can any one tell me what size_t_count does, i couldnt get it . thanks guyz ! [code] fwrite([COLOR=#0000ff]const[/COLOR] [COLOR=#0000ff]void[/COLOR]*_str,size_t_Size,size_t_count,file *_File); [/code] | |
hi, i've been writing a liltle php script for 2 days now and i am stuck on a big problem which i can't find a solution for. i hope you guys can help me out, i have been searching all over the web for a solution and tried many things … | |
Can anyone point me to a discussion or reference tutorial, etc. on how to write a program in Assembly to reverse a simple string? | |
hi every one!! can anyone send me a sample program that creates a different beep sounds.. meaning by pressing diffrent letter, a diffrent tone sounds.. beep of diffrent frequency... | |
can someone explain how i could go about applying this recursive method to a string of integers from a text file. so far i have read the string into an int array in my main using a tokenizer and im unsure of how i should manipulate the array now. also … | |
Hello all, I have a newbie question. I need an alternative to this: $variable = 'Sometext with some other text <?php include 'somescript.php'?> some more text'; where $variable will be echoed into a webpage as part of the page content. I can echo text into the page all day, but … | |
please help me [url]http://www.linuxforums.org/forum/linux-applications/72657-qt3-designer.html[/url] | |
ok im newbie... i have a question if i have [code] #include <stdio.h> int main() { printf("type something:"); char a; scanf("%c", &a); printf("%c\n" ,a ); return 0; }[/code] i will aways get one character in output.My question is: -how to get world "hello" as standart output from variable using printf? | |
Hi! On different occassions (random as much as I can tell) the "gets" command does not work. The compiler simply skips it and moves on to the next code line. Like I said, other times it does work. Any suggestions? Thanks Ami | |
i want to calculate the complexity of the following code snippet [code] for(int k=0;k<n; ++k) for(int j=0; j<k; ++j) for(int i=0; i<j; ++i) cout<< "Hello World" <<endl; [/code] here! i got the hint! that summation of natural numbers series would be used if its correct why ? bit confused:sad: | |
Hi, I'm trying to use a Do Loop to look at 2 seperate tables. It needs to check the value in one field on the first table. If it finds a "T" it should look to a field in the other table and count down 3 rows. Then it needs … | |
If I were to overload the subscript operator, aka '[]', it would probably look something like this: [code] int &operator[](int); [/code] If I filled this array with 10 digits.. 1.2.3.4, etc... How could I return the largest digit, and then the next largest digit? etc... I'm not sure if a … ![]() | |
Okay, I know that Python is a programming language (it comes with some Linux installs), but what are its stats? I mean, how efficient is its build? How much larger or smaller are the programs than C++? How much faster are the programs than those created by C++? What are … | |
I am doing a lexical analysis program and this is a part of the code that counts number of keywords [code] int keyword=0; char str[]="int float + - 78"; char* ptr; ptr=strtok(str," "); while(ptr!=NULL) { if(((strcmp(ptr,"int"))||(strcmp(ptr,"float")))==0) keyword++; ptr=strtok(NULL," "); } cout<<keyword; [/code] to my knowledge there is no imbalance of … ![]() | |
hi iface aproblem in c program i want to write aprogram to read R={(1,2),(2,1),(3,3),......} then covert it to matrix0/1 please help me quickly ![]() | |
Hey people, does someone know program that can open something.X files and that is big about 2GB? thanks appologies for post here. | |
I have a problem with a drop down menu box, the box is generated from asp, so the amount of [INLINECODE]<option>[/INLINECODE] available will vary. When there are too many options in the list, the list gets too high and goes off the page, and the last options can't be seen. … | |
i need a program urgently for round robin schedulng algorithm using circular linked list implementation.. please send a program using c++... post the prg to my mail id.. << moderator edit: removed email address >> | |
:cool: can any one help me to get the latest version of borland C++/ turboC++, which is fully funcional.... plz help me.... i am planning to do project in C++... which shuld have a complete features.... i have turboc3 compiler..... plz any latest....:?: | |
Hi to all, I don't now if this is the rigth place, but I will ask anyway. I'm trying to improve the performance of my ISAPI application (written in C++), I'm looking for information to read in the web but I dind't found much, I was wandering I you have … | |
Hii All, I havea problem with uploading Images into Database(MS Sql2000).. and i want to retrive them back.. Please do favour to me.. | |
Hello guys Its afternoon this side of Africa. I have a school project where a user register and they earns points. When the points are 10, the first user is either deleted from the database and/or retained in the system, either way the second person gets their points... and the … | |
am trying to delete a record but I have this message: Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'ProductID = , 1567'. /salem/pages/fresh_food/TMP3rfr35u5pa.ASP, line 74 I looked at the meaning but so far I can't see that … | |
Dear All how can i connect my ASP page to SQL server database in a local machin i get this error Running connectivity tests... Attempting connection [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied. TESTS FAILED! | |
Hi People . I Just Installed Weblogic I Want To Know How To Save And Run A Jsp File In The Weblogic................ I Am Very New To Web Ligic | |
In my form I have two rich text boxes.In both of them I put two different text files(.txt or .rtf).I looking for some code to compare them, and to have the result as marked differences into the second rich text box.How I have to compare them-as strings or as files? … | |
Hi, I am a newbie in this wonderful world of PIC programming and having some problems, so I'm hopeing some one out there can help me out. I have written a program for the pic 16f876a microcontroller, this uses RA0 as an analogue input. I have tested it with MPLAB … | |
I am trying to make my program more easy to use and not have computer illiterate people struggle to install my program. My question is can a C++ program install ITSELF into another directory upon execution. I want the program to run, but I also want it to make a … ![]() | |
I've placed a CSV file into an array with C++ with each row being a single array element, but the file contains many, many columns that I don't need. I only need columns 1,2,3,4,6,7 out of about 50. Is is best to read the full value into the array and … ![]() | |
Here is my problem: I have a search form in the project I am currently working on, and I have no idea how to go about making it work. I want it to search and display data for a “Tag ID | |
Hey guys im working on a a banking program for my cpsc class and i have the code finished and i just cant get it to run, i believe my brackets are wrong somewhere but i just cant figure out which ones so if someone could juss help me out … | |
There is an algorithm in the software program that other team handed to me on linux. Given a set of requirements, our task is to create a test script/driver to verify that algorithm using a separate data file and spit out the result on the output file. The concept is … | |
Hi everyone, I feel like such a dumb*** because I don't know how to make automatic database backups. I would love to make backups every 3 days or so. Perhaps 3 times a week would be good, not daily though. I'm using MySQL and Windows and my current method of … | |
Well im a noob so be gentle lol Ive got a basic multiple choice quiz, and im trying to make it so that when processed it will insert the result into a table in the database. Anyone got any ideas how i should go about this? | |
Hey all. I have tried my hand at some simple programming in both ASP.NET and PHP. Now I am pitching a complex website to some investors where I will be outsourcing to professional developers. I must decide between PHP and ASP.NET platforms. In my experience, ASP.NET seems to offer a … | |
First of all i'm a newbie so bear with me... I have created a form in which people submit a phonebumebr to a database, curently if they put a space in there it throws up an error. I have been told that : Never insert unsanitized data into your database. … | |
Hi, i am using Pygtk to make GUI . I have a frame in which i have added a VBox.. I want to add scrollbar in that VBox.. but couldn't figure out how to add it. [code] vscrollbar = gtk.VSscrollbar(adjustment=None) AttributeError: 'module' object has no attribute 'VSscrollbar' [/code] it's giving … | |
how to update an existing databases not replacing the item just only a quantity... help me... plssssssssssss.... tnx:sad: | |
[COLOR="Navy"]Hi everyone, I just finished my summer internship last week and part of what my boss told me at the end of the program was to impove my Java skills. From experience I know the best way to master any programming skill(or the likes) is via practice so I am … | |
I have been programming for a while now but up to now I have only made programs which were small and could be planned out in my head with no problems. Anyway I have started a course at my school which requires me to be able to create fair sized … | |
Hey. I wish to develop a website for team members which has features as listed below. I am impressed with [URL="http://www.evolt.org/PHP-Login-System-with-Admin-Features"][COLOR=#0000cc]http://www.evolt.org/PHP-Login-System-with-Admin-Features[/COLOR][/URL] resource source code which is freely available and I am thinking to use that as reference. I need small help and they are - 1) Password protected login for … |
The End.