Posts
 
Reputation
Joined
Last Seen
Ranked #404
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
95% Quality Score
Upvotes Received
21
Posts with Upvotes
19
Upvoting Members
18
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
16 Commented Posts
~91.9K People Reached
Favorite Tags
Member Avatar for bmackkc

I have two forms; I'll call them frmReturn and frmReturnItem. FrmReturn is bound to data in a SQL table; data entered in frmReturnItem is stored as a child table in SQL. In the database, there is a one-->many between Return and ReturnItem. frmReturnItem can be opened only from frmReturn. frmReturn …

Member Avatar for major_lost
0
2K
Member Avatar for fesago90

Well, I read that endl 'flushes' the output buffer as opposed to \n. Now what does that mean (In what way could that be useful)?

Member Avatar for seanwalsh1984
0
526
Member Avatar for ankit_the_hawk

I have been experiencing problems in using the gets() command in C. Whenever I use it twice followed by scanf for eg: [code] char name[20],add[20]; printf("Enter name : "); gets(name); printf("Enter address :"); gets(add); printf("Enter age :"); scanf("%d",age); [/code] Here it skips name.(doesnot take input of name!) It doesnot input …

Member Avatar for thisun
0
13K
Member Avatar for d1e9v85

for a assignment i need to create an array dynamically so then late i have to sort the array but the problem is i an new in this cousrse and i dontknow how to creat an array dynamically please help any help will be a good start for me \thx

Member Avatar for NathanOliver
0
154
Member Avatar for livingsword

hi, im a beginner. i hav an assignment on Pascal's triangle. i saw some post over the topic but couldnt get it to work with my code. heres what i have done so far.... [code=c] #include<stdio.h> #include<conio.h> void main() { int a[10][10]; int i,j,c,n; clrscr(); printf("Enter how many lines do …

Member Avatar for vipinkumar512
0
705
Member Avatar for cezarjont
Member Avatar for Narue
0
6K
Member Avatar for afaquaholic

I am running a service that queries on regular intervals. I initially set it up so that the connection formed onStart, and closed onStop. This of course leaves a connection open all the time, which isn't what I want. So I moved the open and closed to inside my timer …

Member Avatar for seahmadmom
0
196
Member Avatar for jan1024188

I want to know how to write a program that moves for example C:\ex.exe to D:\ex.exe.... What header to use? stdio.h? what function to use? Can i get a link of source(this program) ?

Member Avatar for luigi10011
-2
20K
Member Avatar for Eko

I have one or more functions separate from main() , that besides the return value , must also return the time it tooked to process. How can I do that ?

Member Avatar for motogeeeksatyam
0
118
Member Avatar for WoBinator

Hi, im new to programming. I have read alot of posts on this site and am wondering if i need to learn C before i learn C++. Is learning a language before C essential? or will i just get the hang of it. This is my second post, asking about …

Member Avatar for Zacadx15
0
466
Member Avatar for Marks256

Can someone please point me to a good windows api tutorial? The one that i found ([URL]http://www.winprog.org/tutorial/[/URL]) is nice, but it doesn't explain thing nearly enough. It kinda just drops the stuff on the person trying to "learn" it. I was able to follow through the first three sections, and …

Member Avatar for massivefermion
0
172
Member Avatar for certem

Hello i have spent hours and days and couldn't find how i can make a variable that has rounded to 2 decimal digits. But i dont want to use myVariable.value....or myVariable()....styles. In the net i have seen something like BCD that is related for official accounting issues but i coudn't …

Member Avatar for John A
0
235
Member Avatar for AshwinCareem

Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.

Member Avatar for Nick Evan
0
143
Member Avatar for tech291083

Hi, I have been talking to a few programmers online for quite some time now and one thing seems to be a common factor in each discussion, frustration of the job profile given to them. I would like to know from the professional programmers associated with this forum, the followings: …

Member Avatar for Ezzaral
0
186
Member Avatar for The Dude
Member Avatar for jbennet
0
137
Member Avatar for Marks256

I am just curious about the pros and cons of each. Please leave your opinion(s). Thanks! (sorry the question is so broad, but i just wan the pros and cons of each.)

Member Avatar for Marks256
0
378
Member Avatar for degamer106

This might seem like a silly question, but how do I read in a newline char, by itself, as input? For example, if I gave the user a choice to enter a string for a new filename, or let them just press ENTER for some other choice. forgot to add …

Member Avatar for WaltP
0
4K
Member Avatar for ghostfacelz

Hi, just have a question regarding classes/inheritance and a variable. ive been trying to work out the best way to do it, but would like some outside input. ok..here goes: i have a base class Ship. classes will inherit from this class. i also have a class tinyShip (and later …

Member Avatar for ghostfacelz
0
110
Member Avatar for tatumkay

just started c++ class.... we use the absolute c++ book after starting to read this book i decided to buy c++ for dummies and borrowed a book titled object oriented programming with c++ (book is from india written in english) i still have no idea where to start on these …

Member Avatar for Ravalon
0
167
Member Avatar for Elfshadow

I started learning C++ as my first language. But some of the OOP stuff gives me trouble. I know C is a widely used language like C++ and has about the same syntax but isn't OOP.I have tried some basic C so i have not got parts that are different …

Member Avatar for Elfshadow
0
127
Member Avatar for Xzantose

I was wondering if it is possible to make a gui program in C++ without[COLOR=black] a toolkit, and if so are there any tutorials or books that I can read:?: [/COLOR] [COLOR=black] [/COLOR]

Member Avatar for blacklight
0
141
Member Avatar for rwagnes

Hey, I am trying to open a file with a relative pathname: e.g. file=fopen("/files/index.html"); where the files directory is in the same location as the executable. For some reason the executable cannot locate the file. Why? Thanks, Elise [Edit] OK it works without the initial slash in the path name …

Member Avatar for Ravalon
0
89
Member Avatar for hkBattousai

I suppose you know how to import Win32 API functions into C#. Like this : [code]BOOL ExitWindowsEx(UINT uFlags, DWORD dwReason); // Original Win32 function [DllImport("User32.dll")] public static extern bool ExitWindowsEx(uint uFlags, uint dwReason); // How to import into C#[/code] I want to import SetSuspendState() function, but don't know what DLL …

Member Avatar for Ravalon
0
797
Member Avatar for Aia

I think one of the reasons authors of books about programming in C make heavily use of the function scanf() is that is readily available and easy to use for the new learner. That's all good and dandy, however when writers of this books get to the more advanced topics, …

Member Avatar for Aia
0
271
Member Avatar for abhinav.sharma

I'm new to these concepts but a derived class cannot access private members of the base class because they are simply not accessible externally. But what if I define the derived class in a friend function to the base class. will the private members of the base class be successfully …

Member Avatar for abhinav.sharma
0
231
Member Avatar for jerryodom

I'm fairly new to .NET programming. The DateTimePicker control seems to be a great solution for entering valid dates without alot of backend checking and preventing the user from entering a bad date. However it seems like I always have to explain to my testers that they don't have to …

Member Avatar for Ravalon
0
174
Member Avatar for lotsofsloths

[CODE] //The ATM Mahcine #include <iostream> using namespace std; int main (const int) { int cash; int bank; int choice2; int choice3; char choice1; cout << "please enter amoount of $ in bank: "; cin >> bank; cout << "please enter amount of $ in cash(hand/wallet): "; cin >> cash; …

Member Avatar for John A
0
118
Member Avatar for smallpau1

[code=c] #include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; double power(double b, double p); void main(void){ int base = 0, power = 0, result = 0; cout << "Programmed by ." << endl << endl; cin >> base; cout << " ^ "; cin >> power; result …

Member Avatar for Salem
0
119
Member Avatar for Aia

I don't visit any other forum but the C and C++, so I don't know if there's a different place where I can make this comment. However, I'm going to go ahead and say. I would like to give a public and loud THANK YOU! to this people: [COLOR=Blue]Mr.WaltP Mr.Ravalon …

Member Avatar for ~s.o.s~
6
129
Member Avatar for WaltP

I like the new format for each forum index. Compact is good! Thank you, Dani

Member Avatar for Dani
0
794