8,298 Topics

Member Avatar for
Member Avatar for LaurenB

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 …

Member Avatar for caperjack
0
242
Member Avatar for xplod420_2

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 …

Member Avatar for xplod420_2
0
144
Member Avatar for tw0nk

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 …

Member Avatar for Narue
0
84
Member Avatar for j.kelly

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 …

Member Avatar for j.kelly
0
86
Member Avatar for dallin

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.

Member Avatar for Narue
0
328
Member Avatar for new comer

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 …

Member Avatar for vegaseat
0
154
Member Avatar for ianwaters

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 …

Member Avatar for ianwaters
0
279
Member Avatar for cap2361

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 …

Member Avatar for cap2361
0
149
Member Avatar for MAD_DOG

Is there any books you guys know of that someone like me that dont know anything about programming can use C++/VB what ever something that is quick and easy to understand. Something really simple something you guys can recommand. Thanks again

Member Avatar for bombe
0
430
Member Avatar for crypter

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 …

Member Avatar for crypter
0
162
Member Avatar for 40ounce68

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 …

Member Avatar for Narue
0
98
Member Avatar for seeplusplus

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

Member Avatar for Narue
0
173
Member Avatar for blackdove

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 …

Member Avatar for blackdove
0
161
Member Avatar for seeplusplus

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 …

Member Avatar for Dave Sinkula
0
90
Member Avatar for seeplusplus

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 …

Member Avatar for Intel
0
248
Member Avatar for tad73831

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 …

Member Avatar for evilsilver
0
352
Member Avatar for helmica

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 …

Member Avatar for vegaseat
0
190
Member Avatar for joejoenyc718

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 …

Member Avatar for Khishin
0
141
Member Avatar for seeplusplus

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 …

Member Avatar for Dave Sinkula
0
153
Member Avatar for crq

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 …

Member Avatar for 1o0oBhP
0
157
Member Avatar for seeplusplus

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 …

Member Avatar for Chainsaw
0
143
Member Avatar for jingchak
Member Avatar for freesoft_2000

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 …

Member Avatar for alc6379
2
2K
Member Avatar for zack_rage

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 …

Member Avatar for murschech
0
102
Member Avatar for Ghost

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:

Member Avatar for Iron_Cross
0
141
Member Avatar for bertlef

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

Member Avatar for bertlef
0
144
Member Avatar for alxyar

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 …

Member Avatar for dlh6213
0
367
Member Avatar for neoncoder

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 …

Member Avatar for jwenting
0
94
Member Avatar for erin21gobra

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 …

Member Avatar for serfurj
-1
206
Member Avatar for nufanvandal

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 …

Member Avatar for nufanvandal
0
128
Member Avatar for lida1984

HI plz help me to write my program in c++ which it has the name of for example lida.COM and it just cout a text such az my name or ... u knew i could write many program in c++ but this time i waana change the format of the …

Member Avatar for alc6379
0
132
Member Avatar for smartintelleng

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 …

Member Avatar for Dave Sinkula
0
199
Member Avatar for Bob

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

Member Avatar for 1o0oBhP
0
2K
Member Avatar for fwongmc

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 …

Member Avatar for jwenting
0
137
Member Avatar for smartintelleng

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

Member Avatar for nvanevski
0
120
Member Avatar for Faramba

if: static char s2[]="Catbert"; static char s3[]= "Ratbert"; what is the vvalue of strcmp(s2, s3)<0 "Please explain"

Member Avatar for Dave Sinkula
0
185
Member Avatar for Faramba

Please help me with this: Declare an integer array named "scores" to contain 50 elements. & Generate a code (a loop) that will initialize every element in the array from the above declaration("scores") to the value 75.

Member Avatar for jwenting
0
148
Member Avatar for Guppy25

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 …

Member Avatar for frrossk
-1
118
Member Avatar for craigt

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 …

Member Avatar for craigt
0
323
Member Avatar for Faramba

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?

Member Avatar for Dave Sinkula
0
85
Member Avatar for muraya

Hi, guy how do I generate a code to print all combinations of a 4 digit code betwwen 1 and 13

Member Avatar for harshchandra
0
116
Member Avatar for Moo The Cow

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 …

Member Avatar for harshchandra
0
156
Member Avatar for Young Teck 06

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.

Member Avatar for vegaseat
0
369
Member Avatar for zack_rage

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

Member Avatar for zack_rage
0
177
Member Avatar for airshot

My C drive thinks it is called C:\Documents and Settings\Mike Swindlehurst> can anyone tell me why?

Member Avatar for alc6379
0
102
Member Avatar for stoov

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

Member Avatar for Narue
0
97
Member Avatar for unicorn7

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

Member Avatar for frrossk
-1
72
Member Avatar for Young Teck 06

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 …

Member Avatar for Young Teck 06
0
125
Member Avatar for mr_mooz

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 …

0
78
Member Avatar for Asif_NSU

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 …

Member Avatar for vegaseat
0
252

The End.