199,125 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NZStudent

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 …

Member Avatar for Charles Esson
0
273
Member Avatar for Mikeish

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 …

Member Avatar for Mikeish
0
64
Member Avatar for Matt Tacular

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 …

Member Avatar for Ene Uran
0
135
Member Avatar for Barefootsanders

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' …

Member Avatar for Barefootsanders
0
106
Member Avatar for jan1024188

i have [CODE]#include <stdio.h> int main() { int a; int b; a = 3; b = 30; while (a < b) { printf("%d\n crap .....", a); a = a + 1; } return 0; } [/CODE] i got output [QUOTE]crap .....4 crap .....5 crap .....6 crap .....7 crap .....8 crap …

Member Avatar for ~s.o.s~
0
119
Member Avatar for Barefootsanders

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 …

Member Avatar for Barefootsanders
0
132
Member Avatar for fdrage

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 …

Member Avatar for iamthwee
0
121
Member Avatar for doraemon

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; …

Member Avatar for rowly
0
148
Member Avatar for dunderhead

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 …

Member Avatar for dunderhead
0
2K
Member Avatar for rowly

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]

Member Avatar for rowly
0
355
Member Avatar for Validator

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 …

Member Avatar for Validator
0
130
Member Avatar for rmeader

Can anyone point me to a discussion or reference tutorial, etc. on how to write a program in Assembly to reverse a simple string?

Member Avatar for Evenbit
0
106
Member Avatar for joem1973

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...

Member Avatar for Evenbit
0
2K
Member Avatar for SyLk

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 …

Member Avatar for Cudmore
0
125
Member Avatar for okparrothead

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 …

Member Avatar for okparrothead
0
5K
Member Avatar for jan1024188

please help me [url]http://www.linuxforums.org/forum/linux-applications/72657-qt3-designer.html[/url]

Member Avatar for jan1024188
0
101
Member Avatar for jan1024188

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?

Member Avatar for jan1024188
0
126
Member Avatar for amishosh

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

Member Avatar for ~s.o.s~
0
303
Member Avatar for Laiq Ahmed

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:

Member Avatar for Infarction
0
96
Member Avatar for stealthdevil

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 …

Member Avatar for stealthdevil
0
108
Member Avatar for hoosier23

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 …

Member Avatar for iamthwee
0
191
Member Avatar for FireSBurnsmuP

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 …

Member Avatar for vegaseat
0
180
Member Avatar for sugantha

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 …

Member Avatar for iamthwee
0
95
Member Avatar for hano

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

Member Avatar for iamthwee
0
87
Member Avatar for Gigs_

Hey people, does someone know program that can open something.X files and that is big about 2GB? thanks appologies for post here.

Member Avatar for ~s.o.s~
0
121
Member Avatar for bodikon

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. …

Member Avatar for tgreer
0
176
Member Avatar for dhaya

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 >>

Member Avatar for Paul.Esson
0
1K
Member Avatar for shiman999

: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....:?:

Member Avatar for Ancient Dragon
0
156
Member Avatar for dev.cplusplus

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 …

Member Avatar for dev.cplusplus
0
90
Member Avatar for sravankolla

Hii All, I havea problem with uploading Images into Database(MS Sql2000).. and i want to retrive them back.. Please do favour to me..

Member Avatar for postmaster
0
112
Member Avatar for omesa

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 …

Member Avatar for omesa
0
82
Member Avatar for salim

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 …

Member Avatar for masijade
0
77
Member Avatar for alirezaaali

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!

Member Avatar for seibor
0
143
Member Avatar for jesintha

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

Member Avatar for aniseed
0
154
Member Avatar for bobbymusic

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? …

Member Avatar for bobbymusic
0
151
Member Avatar for Jeffxxx

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 …

Member Avatar for Jeffxxx
0
200
Member Avatar for Niklas

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 …

Member Avatar for iamthwee
0
156
Member Avatar for johnnyrocket

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 …

Member Avatar for iamthwee
0
5K
Member Avatar for WesDolezal

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

Member Avatar for elainenguyen
0
363
Member Avatar for phuduz

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 …

Member Avatar for ~s.o.s~
0
102
Member Avatar for usr1971ca

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 …

Member Avatar for WaltP
0
129
Member Avatar for bobby08

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 …

Member Avatar for pritaeas
0
132
Member Avatar for kysolein

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?

Member Avatar for Puckdropper
0
100
Member Avatar for lconvoy

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 …

Member Avatar for ManicCW
0
169
Member Avatar for weezie

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. …

Member Avatar for weezie
0
146
Member Avatar for JyotiC

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 …

Member Avatar for JyotiC
0
295
Member Avatar for Jambar

how to update an existing databases not replacing the item just only a quantity... help me... plssssssssssss.... tnx:sad:

Member Avatar for Jambar
0
74
Member Avatar for crestaldin

[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 …

Member Avatar for cyfm
0
157
Member Avatar for Satal

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 …

Member Avatar for Satal
0
81
Member Avatar for srimks

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 …

Member Avatar for srimks
0
727

The End.