199,132 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joseywhales

The script belwo works in IE, how do i get it to work in FireFox? [code=JavaScript]<script type="text/javascript" language="JavaScript"> <!-- JavaScript --> <!-- Begin mesg = "Welcome to WhiteCityCavaliers.com New Litter has just arrived....Ready for you after weaning!....More Love than you could expect from a puppy, Cavaliers love to please you...."; …

Member Avatar for essential
0
161
Member Avatar for viniciusweb

In the beginning of the book "Structured Computer Organization", Tanenbaum says that a typical computer have 6 architecture levels: Digital, Microarchitecture, Instruction Set, Operating System, Assembly and the Top level (not sure if this is named correctly). Each level is suppose to add a new layer of abstraction, basically to …

Member Avatar for Rashakil Fol
0
147
Member Avatar for CcXD

So I have been trying to figure this out for a while. Its a fun puzzle game that might send you thinking for a while, here it is: Lets say you work at an office/lab, and you have workmates. Lets also say that you love Coke, so much you always …

Member Avatar for Ash Abe Add
0
186
Member Avatar for crackerjacker

Hi- so i want to be able to type in a file name (not knowing the path) and have it search the c: drive. then, when it finds the file it will return the path (in a variable, label, etc.) thanks!

Member Avatar for crackerjacker
0
80
Member Avatar for mannyg

so i no ive read this stuff about hmwrk. but i have done a lot of work and dont want anyone to finish it for me i just need advice, im making a coffee machine and i have made a layout, but i dont no how to put in the …

Member Avatar for sillyboy
0
126
Member Avatar for serkan sendur

How it is useful to create a static variable in a non static member function? The compiler allows that, and i wonder in what situations it is useful to create static variables in the function bodies as they are going to be disposed at the end of the function call.

Member Avatar for Rashakil Fol
0
165
Member Avatar for daviddoria

Is there anyway to get the calling function? ie [code] void A() { if (A() was called from B() ) do something; else do something else } [/code] Is this possible? Dave

Member Avatar for Rashakil Fol
0
132
Member Avatar for user2009

(Using MS Visual Basic 2008) Hi I have Created this program so far for a uni assignement, how ever i need to be able to total the arrays so i can display correct total overall, however the array size has to be defined by the user therefore the size of …

Member Avatar for vmanes
0
134
Member Avatar for asifjavaid

Hi, I am in problem. I have written some code in VC++.NET 2008. It is using third part AMT SDK. It is using file handling of C using fopen() function. The file are opened in binary mode (rb). It is working very perfect according to our requirment on my local …

Member Avatar for cikara21
0
1K
Member Avatar for jakx12

ok so what i want this to do is to get the gallery name, then place it in a hyperlink, with the href including the gallery name so on the page im re-directing to i can use $_GET and get some information without a session etc. But there is nothing …

Member Avatar for ShawnCplus
0
113
Member Avatar for ribena500

Hi, I have some basic code: cout << "HOW MANY BOTTLES IN THE BASKET? "; cin >>bottles; I want to put an if statement to make sure that no letters are entered and only numbers are? How would i do this? Thanks guys!

Member Avatar for StuXYZ
0
199
Member Avatar for mitso6989

Looking for some help catching flash as3 POST command with python. Anyone done this? below is my AS3 Code:(I have on pretty good authority that this part is right) [code] function savedata(event:MouseEvent):void { trace ("i've been clicked"); var myData:URLRequest = new URLRequest("user_info.py") myData.method = URLRequestMethod.POST var variables:URLVariables = new URLVariables() …

Member Avatar for perica.zivkovic
0
432
Member Avatar for rottmanj

I have setup a class that stores the data for my database connections. Inside the class I have several members that either set or get the variables. Inside my main I have set the value of the hostname. Now I have a second class that I am testing with called …

Member Avatar for StuXYZ
0
100
Member Avatar for marcosjp

Hello! I created a simple CMS with PHP/MySQL and would like to make it easy for people to insert some formatting, such as bold, italics, underlined, links, etc., so that they don't have to know html code... What is the best solution to develop something like this? Javascript? Forms are …

Member Avatar for diafol
0
156
Member Avatar for athtsa

Sorry for my English firstly! I have the below project to do in assembly language!I don't know Assembly and i would like if anyone has the time to help me! It's a project from my school and it must be done! I would appreciate any helpful information! I look forward …

Member Avatar for Salem
0
118
Member Avatar for flipjoebanana

Hello, I am trying to figure out why pointer address is not preserved over a function call and how to fix it. For example: [code] void test_function(char **,char *); int main() { char **argv = calloc(64,sizeof(char *)); char *line = "MAMMAJAMMA!"; test_function(argv,line); printf("argv[0] == %s",argv[0]); return 0; } void test_function(char …

Member Avatar for flipjoebanana
0
96
Member Avatar for xmoon2000@gmail

Hi, I ran the code beloew but with different version of the "if" statement. Do either boolean, int or double comparisons. Astonishingly, they all give the same order of timings! I would have assumed that boolean would be MUCH fatser than doubles. Can anyone explain why this is? Moon std::clock_t …

Member Avatar for StuXYZ
0
185
Member Avatar for simonrangus

anyone have maybe image rotation function implemented in c (included in gtk+/gnome) environment

Member Avatar for death_oclock
0
61
Member Avatar for orthographer

As some of you would already know, I made a program which accepts login and password from users and shows "*" instead of actual password characters. I know the program is grossly incorrect but I still tried to apply whatever I picked up using books and example programs. *****DISCLAIMER- I …

Member Avatar for orthographer
0
325
Member Avatar for jan1024188

Hello guys, I have 2 questions.... 1. I don't know what format is the best for saving screenshots in. I have tried .BMP, its good quality, but 5MB per screenshot is just not acceptable. I have tried .JPG, but quality is too low. TGA is crap (you need apple quicktime …

Member Avatar for Salem
0
172
Member Avatar for skaterz

Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between …

Member Avatar for skaterz
0
163
Member Avatar for serkan sendur

Wikipedia says something like this [I]Aggregate classes An aggregate class is a class with no user-declared constructors, no private or protected non-static data members, no base classes, and no virtual functions[1]. Such a class can be initialized with a brace-enclosed comma-separated list of initializer-clauses. The following code has the same …

Member Avatar for Narue
0
163
Member Avatar for yara.008

hi i use microsoft visual studio i have visual basic . net program i want publish it (make execution file) my program include voice file thanks

Member Avatar for Teme64
0
185
Member Avatar for greenbluekidz

I am supposed to code a program that uses 3 parallel arrays. The program should prompt the user to enter in a Product ID. From there it is supposed to search the ids array and then display the corresponding price and quantity remaining. It does not do this. Instead I …

Member Avatar for greenbluekidz
0
139
Member Avatar for gpittingale

Hi everyone, Could anyone tell me how to pull a set of arrays from a different php script (for example i have created a script and the first thing it does is pull a name of a village out of the mysql and show it, Now what i would like …

Member Avatar for diafol
0
114
Member Avatar for scru

I noticed a weird thing happening when i use this function. If the page i open is in latin-1 encoding, the bytes returned by this function would have some weird junk characters inserted in various places. However, if i use urlretrieve to fetch the page to disk, there is no …

Member Avatar for scru
0
210
Member Avatar for sufi89

hi i am new to all this... right now i am stuck on generic linked lists i have to create a recursive method to add newnode at end i have this so far public static <T> void insert(Node<T> l, Node <T> newNode) { if (l == null) {l = newNode; …

Member Avatar for sufi89
0
110
Member Avatar for Liszt
Member Avatar for Liszt
0
113
Member Avatar for anu123d

Project Name : " Employee Information System " I am trying to add a new department name in "dept.txt" file. using file Operations and funcctions defined in String Header file in C Problem is in fnAddDepartment() function. When i run program in VC++ compiler, it says : Debug Assertion Failed! …

Member Avatar for Murtan
0
224
Member Avatar for ribena500

Hi I got this code: (hours_worked[i]-35)=overtime_hours[i]; (overtime_hours[i])-(hours_worked[i])=normal_hours[i]; I get this error: error C2106: '=' : left operand must be l-value What does this mean?

Member Avatar for Salem
0
75
Member Avatar for winky

Hey everyone, relatively new to C#, and completely new to the C# forums. Just have a quick question.... I'm making a web service oriented browser, and am trying to use a service that updates a 5-day forecast. Anyways... I am wondering why my code below does not work: [code] groupBoxes …

Member Avatar for LizR
0
228
Member Avatar for s-a-n-d-e

i need to merge two arrays..assign them to another array..but in the third array..no similar values shall be printed..i badly need help.. a big big thanks in advance..

Member Avatar for Salem
0
174
Member Avatar for nnobakht

Hey guys, I have a TreeView in which i am usign the DoubleClick event handler. The first time i double click on the grid (this happens everytime the grid is repopulated as well) the event does not register. For example if i double click on a checkbox (single click will …

Member Avatar for wilsotc
0
89
Member Avatar for sarawilliam

Hi I want to know how we can measure C execution time by seeing the clock cycles generated from the assembly code. Thanks...

Member Avatar for Narue
0
204
Member Avatar for MDGM

Hi all, I need to save a number to 3 decimal points, however I want 10.3 to be saved like this: 10.3 not this: 10.300 varchar will not work because ORDER BY rating treats 10 as being lower than 9... So what datatype should I use? Thanks, Max.

Member Avatar for MDGM
0
93
Member Avatar for skaterz

Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between …

Member Avatar for skaterz
0
117
Member Avatar for jerronimo3000

ok, i'm still on Hello World because of this. I can compile and link my app without any warnings or errors, but when I run the .exe it will come up with a black box that prints Hello World and then dissappear. It comes up and terminates in less than …

Member Avatar for VernonDozier
0
128
Member Avatar for drjay1627

I'm working in a project and part of it is to do a small encryption program. W can use substitution encryption where each character is substituted by another pre-determined character. Can someone kindly help me with an algorithm. I just can't think any more! Thanks drjay

Member Avatar for drjay1627
0
161
Member Avatar for Dendei

Hello i need some help to understand my work heres the code [CODE] #include <iostream> #include <string> #include <sstream> #include <vector> #include <fstream> using namespace std; struct cell1 { int value1; } cell1Data; struct cell2 { int value2; } cell2Data; int main(void) { ifstream myfile("example.txt"); if(!myfile.good()) return 0; vector<cell1> data1; …

Member Avatar for Freaky_Chris
0
105
Member Avatar for apolo_x

Hi! I want to get information from a sports web site (ex:[url]https://www.bwin.com/pt/futebol)[/url], and I already tried htmllib and some other stuff.... the problem is that I can get the page's source code but not the same information that I can see in my browser. Particularly, I'm interested in the teams …

Member Avatar for Stefano Mtangoo
0
224
Member Avatar for murderotica

Hello there, I've been messing around with System.Web.Mail these days and I was able to create an application that could send a mail using smtp. My problem here is, Idk how to connect my application to an exchange server and I don't have any server yet. I'm kinda noob in …

Member Avatar for Hitandrun
0
176
Member Avatar for urstez

hello everyone.. im new to this forum.. hey guys..can anyone tell me where do i get good tutorials for IA64 assembly.. thanku

Member Avatar for Evenbit
0
196
Member Avatar for nikk

Hello Friends, I've to work with "Quicktime". But, I'm finding it quite difficult to find the resources which will help me in understanding the technology. Can you please suggest me any links which will help me in understanding Quicktime classes and methods, during my project building?

Member Avatar for quuba
0
277
Member Avatar for pace59

Help Please! I am trying to create a maintenance plan in sql 2005 server. I am getting an error Microsoft.SqlServer.Management.DatabaseMaintenance.TaskUIUtils..ctor()'. (Microsoft.SqlServer.MaintenancePlanTasksUI) I am unable to create maintenance plan. I am on sp2, and applied a critical hotfix from the microsoft website. I thought maybe it was client tools, but isn't …

Member Avatar for Ramy Mahrous
0
176
Member Avatar for manoj_582033

Hi Friends i am using vb.net & i have a textbox on that ,I want only numeric value on that textbox & if i type alfabetical on that textbox so that must give me a message to that type numeric value only I m not able to doing this plz …

Member Avatar for rapture
0
125
Member Avatar for britto

hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me?????

Member Avatar for britto
0
83
Member Avatar for Liszt

I have done a windows form application that I have debugged in "Release Mode". I need to ask 2 questions at the same time because I think they depend on eachother and that is my questionmark: 1. When starting this program, there will be a panel visible where you will …

Member Avatar for Liszt
0
136
Member Avatar for tillaart36

Hello, I'm writing my code into the 'vizard python editor' and sometimes it feels a bit bugged or something, now I get an error message that my class has no attribute. I feel it has to do something with editing in vizard because in other editors I don't think i …

Member Avatar for jlm699
0
36K
Member Avatar for denni11998833

Hey, I was wondering if someone could help me out here! I am trying to sort a list of files and remove the last x ones if it exceeds a constant variable (maxbuffersize). Below you can see what I did: I tried to sort the vector based on the predicate …

Member Avatar for denni11998833
0
2K
Member Avatar for faisaly

The End.