8,298 Topics
![]() | |
I have run all the required programs including CWShredder, TrendMicro, Spybot, Ad Aware SE, & VX2 Cleaner. However, I am UNABLE to change my homepage. It continues to change on its own to c:\searchpage.html. When I ran TrendMicro, there was one trojan that could not be deleted: mtwirl.dll -- if … | |
Hello i am writing a program and i really need help. here is what the program is about. 1. It needs to ask a number of tickets sold. 2. persantage which goes to some other coast. This input will be entered in percent format. program must convert this to a … | |
Hi I am getting this error with my code as I try to pass a 2d array into a function : mymain.cpp:173: error: cannot convert `float (*)[((dimensions - 1) + 1)]' to `float**' for argument `1' to `float objfunc(float**)'])' The code is as follows: [url]http://cpp.sourceforge.net/?show=4356[/url] The lines 0030, 173 and … | |
![]() | Can somebody please tell me where I should put an enumeration which will be used by several classes. [code]enum Direction { UP = 1, DOWN = 2, NONE = 3 };[/code] All of the classes have their own .h and .cpp files and at the moment I have the enumeration … ![]() |
I have random numbers such as 1 6 8 5 7 3 9 2 4 in a 1 dimensional array what for loop do I use to reorder the numbers from 1 through 9? thanks. | |
hi i have just got my self a Borland 4.5 from ebay and would like some help in using it. i am very new to programing and i would like to be able to put a shoping cart on my website but i know nothing about it all help very … | |
Hello all, im writing a c++ program to interact with an SQLServer database. my code will run a query and retrieve data fine. for example SELECT data FROM TestTable returns all strings from the data column. but when i run the following statement INSERT INTO TestTable (data) VALUES ('HELP') i … | |
ok, help!!! I'm totally lost. I have to use a file stream program and add names to file, then keep count of file names, then display the count of names entered and the names entered. Use a loop to enter names until prompt to end. these are just two of … | |
Would it possible to have a form when you start a program that asks a username and password. Then the information sent to a server analised and compared to a database for approval to then show another form which then lets you use the program? so basically you start xyz.exe … | |
Well currently Im a student, and very interested in becoming a good C++ programmer. Im currently in a class and is very challenging for me. I mean, I read the book, but have a hard time applying it sometimes...any of you experts have any tips for me. Cause I really … | |
when i compile this, it gives me an error for my #include "Rationall.h" statement........i dont know why its giving me an error. [code] #include <iostream> using std::cout; using std::cin; using std::endl; class rational { public: rational(); ~rational(); int setrat( int x, int y); int getnum(); int getdenom(); private: int numerator; … | |
I have to define a class for equilateral triangles. The triangle should be defined by a center point (x, y) and the length of the sides. The class should have a constructor which allows defining the triangle, a constructor with no arguments, and member functions for the x coordinate, y … | |
i need to create a class named rational, and i need to have the integer variables denominator and numerator in private. The i need to provide a constructor that enables an object of the class to be initialized when it is declared. then it says the constructor should contain default … | |
alright, this program i wrote pops a menu up letting me choose one of the four options, after i choose an option, and it does that function, how do i get the menu to pop back up again so the user can choose another option? instead, my program does the … | |
First, let me say I am NOT asking for someone to write this program for me. I have to see how functions and operations are used in programs to learn to use them in my own program. And I need help understanding how to use rand() in the program I … | |
hi all am having hard times since yesterday trying to solve this problem. Declare the following two integer lists: int a[] = {5, 8, 4, 1, 7}, b[] = {12, 3, 15, 6, 23, 1, 2}; int sizeA = sizeof(a)/sizeof(int), sizeB = sizeof(b)/sizeof(int); list<int> list1(a, a+sizeA), list2(b, b+sizeB); Use the … | |
hi guys, i must right this program in c++ as 50% of my final grade and i have no clue how to do it because im a math major and im required to take this course is there anyone who can help me with this real quick pleaseeeee //* Write … | |
is this program i wrote so far going to store all the data entered by the user correctly?, i dont really understand structures completely yet. i think my cin statements need to store them differently to reference the structure. my code: #include <iostream> int main() { struct students { char … | |
in working on this pgm, i have made notes to myself ... questions that keep popping up. if anyone wants to clarify some of these concepts for me .... 1. are TRUE and FALSE keywords? if a method says return (TRUE); will it work? 2. const on END of method … | |
Hello, i have to write a program using C++ that will store 3 characters into 3 variables, and using pointers i have to rearrange the order in a function. so if c1, c2, c3 have the value 2,4,6....using pointers i have to switch the values of c1, c2, and c3 … | |
![]() | ![]() |
Hi everyone, I just came home from a software conference in nagoya, Japan where they had any kind of software you can think of on this planet. There was one talk i went for and i think its quite interesting to have it discussed fully here. Alot of the companies … | |
hi i download a compiler from borland site could you please help me with my problem when i run or compile basic programs that i have made it says a error message the stdio.h is not found so that the program has no output any good compilers that can you … | |
Hi everyone! I was wondering if anybody knew how to compare to strings in C#. I know in java you use CompareTo, but how and what do you use in C#? Thanks, C++ :mrgreen: | |
Hi, Detail: Language: C++ OS: Unix based, DOS/Windows Status: Begginer Q/ How do I comunicate 2 diferent app, what I want is to call one program from another one, and get an answer from the second one, maybe send another call depending on the answer. For example, comunicate with mysql, … | |
hello, could anyone please help me with a problem i encountered today. whilst surfing, my blackice running in the background asked me whether i wanted to terminate an unknown application....i pressed 'continue' by mistake. :sad: now every time i startup windows i get a message saying c:/windows/explorer.exe is attempting to … | |
HI, I have a question and i have done a lot of reasearch and cant find a answer.I have a source code (Program.c) C++ code and its just a simple program that takes a input as a wav and encodes it into AAC Audio Compression by using Ahead nero AAC … | |
I know it refers back to variable but I have never seen it used before, could someone please explain :o void change_item( diner * d, float *total ) { int item_num, quantity, new_item_num, new_quantity; float price; display_items(d); do { printf("\nEnter item number to be added : "); scanf(" %d", &item_num … | |
Hello, I have a project which involves basic implementations of linked lists, in C. First though, I have to read the information from a file, which contains all different types(int, char, float) which is my problem...after i read the information into the nodes, it should be smooth sailing.. I was … | |
I go to make my program and I get those warnings. I know that they are linked to the exceptions my program throws during execution which terminates my program another godamn debug error. The problem is that when I double click on the warning, it brings me into the complicated … | |
[B]Intro[/B] [i]This tutorial provides a brief introduction to C++ data types.[/i] [b]What is a data type? [/b] When we wish to store data in a C++ program, such as a whole number or a character, we have to tell the compiler which type of data we want to store. The … | |
Hello everybody!I am a new to C.My lecture asked us to write a program with pointers.But I do think I get stuck on pointer's stuff.Can anyone please do me a flavour?It is kinda urgent stuffs. The following are the questions: Write a program to dispense change.The user enters the amount … | |
[img]http://www.computersforpennies.com/error.gif[/img] testing wether this post works, trying to host the image from my site since i dont know how to do it using his form for threads [B]If the image shows, could you tell me what that debugging error means[/B] | |
if: static char s2[]="Catbert"; static char s3[]= "Ratbert"; what is the vvalue of strcmp(s2, s3)<0 "Please explain" | |
I have to identify which element in the array the highest and lowest numbers are. I have finished the rest of the project but you can see that i need help with the element position. Here's what i have and thank you, thank you, thank you #include <iostream.h> #include"apvector.h"//didn't inclue … | |
I need help with an initializer issue -- the following code works well: extern int i1, i2; typedef struct { char ch; int * * array; } qq_str; static int * a[] = { &i1, &i2 }; qq_str qq = { 'c', a }; However, I would like to remove … | |
How does the following print?: #include <iostream.h> #include <string.h> void main() { char s[50]; strcpy (s, "What "); strcat (s, "does this " ); strcat (s, "do?"); cout << s << endl; } Can you explain? | |
Hi, guy how do I generate a code to print all combinations of a 4 digit code betwwen 1 and 13 | |
Hi, this is the first time that I've used C. Anyway, I downloaded a C compiler (dev-C++), and I typed in this: #include <stdio.h> main() { printf("Hello, world!\n"); return 0; } When I run the program, it doesn't print the "Hello, world!", but I just see a dos window quickly … | |
I need some help, what would everybody out there recommend for a C++ Compiler. I am thinking about paying $110 for Visual C++ "Standard". Does anybody know if this software is great and what are the best features of it. Other recommendations are also welcome. | |
im studying programing fundamentals. I dont know what is the commands and syntax of c language..can u give me some information and tutorials about this c language....coz, i can't find any website about c language, is there any tips on creating basic programs..thnks!!!!! | |
My C drive thinks it is called C:\Documents and Settings\Mike Swindlehurst> can anyone tell me why? | |
I'm wondering if there's any sort of interpolating function in C. I'm trying to rewrite a MATLAB script in C. I saw the name interp somewhere but i haven't been able to find a full description of the function. thanks | |
ok-ive been looking at this program for 2 hrs,trying to get it to compile with vi. no luck. im a beginning student with c programming. int sum -0, x-1 sum +=x; sum = sum + 5%2 printf("The sum is %d/\n",sum); ---------------------------------------------------------------- #include <stdio.h> /* int main(void) { int sum = … | |
Everybody, post your very first C++ code up here if you still have it, heres mines with help from the book I am reading and Narue for the help of keeping the window open, thanks pal. [CODE] // // Program to convert temperature from Celsius degree // units into Fahrenheit … | |
Im trying to write a struct for a binary header of a sun raster file to a file on disk. i have a struct for the header data: [CODE] struct rasterfile { int ras_magic; int ras_width; int ras_height; int ras_depth; int ras_length; int ras_type; int ras_maptype; int ras_maplength; }; which … | |
I had been using old turbo C++ compiler and with i had the help files on C++. However, the documents with my old version of turbo c++ is quite obsolete now. I want to get the latest docs so that i can look up specific function and class details with … |
The End.