199,132 Archived Topics
Remove Filter ![]() | |
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...."; … | |
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 … | |
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 … | |
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! | |
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 … | |
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. | |
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 | |
(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 … | |
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 … | |
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 … | |
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! | |
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() … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
anyone have maybe image rotation function implemented in c (included in gtk+/gnome) environment | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … ![]() | |
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 … | |
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; … | |
If I have this string: "Hello" How would I do to encrypt this string ? | |
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! … | |
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? | |
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 … | |
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.. | |
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 … | |
Hi I want to know how we can measure C execution time by seeing the clock cycles generated from the assembly code. Thanks... | |
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. | |
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 … | |
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 … | |
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 | |
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; … | |
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 … | |
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 … | |
hello everyone.. im new to this forum.. hey guys..can anyone tell me where do i get good tutorials for IA64 assembly.. thanku | |
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? | |
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 … | |
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 … | |
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????? | |
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 … | |
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 … | |
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 … | |
The End.