C++ General Discussion - any problem in c++ shall be discused here
amit nigam
Jul 24 2007, 11:05 PM
hello guys i have started this topic to share our little experience with this language and could help the needys out there and also to share programs or projects ... take care
Notice from BuffaloHELP:
Please do not start an empty topic--no actual discussing subject matter. We have dedicated C++ programming language section. Moved.
Ooh! C++ experience... let's see. I started when I was like 12 because I felt bored one day and picked up this book at the library. Learned the language and played around it for a few months and then dropped it because it couldn't do anything interesting at the time. Few years later, came across OpenGL and the gcc and started using it again. I've been using it for almost everything since - until I came across assembly of course, but that's a different story.
I started learning C++ when I was 13 because I wanted to know more about how computers worked, and I was intrigued by what software really was. After a few VB6 tutorials I felt the whole thing was a bit lame so I tried another language, C++. After that I began a book about making RPGs with DirectX9 and that gave me much more practice with the whole language. By that time I learned other languages as well, which lead me to web design too.
I get in to this language three years back . One day I was thinking about how calculate works and figure out I can also make my own calculator by using any of programing language . And start thinking about C and later C++. After then I start thinking sorting integer or character and I start learning different feature of C++ like comparison, Loop, Different condition and later OOP in C++ . C is cool but I prefer c++ because of OOP. In case of OOP C++ is not perfect but work out. Then it was a break. Now again start C++. And try to implement different Algorithm in C++. Right now I am thinking about Dynamic Programming. If you guys want to give me any kind of support I will be glade. Specially on "Matrix Chain Multiplication". Coz to write programming I got stuck
Well, I started learning C++ in 7th grade when I saw one of my friends' programs she made at IBM. After seeing her program I became interested in programming and my dad had a C++ book that I took up and read whenever I could. After a year, I borrowed my friends OpenGL book then I got one for christmas so by 8th grade I was programming visual applications. I took programming 9th and 10th grade, but it only taught me a few basic techniques, nothing really too helpful since I had already made the final project before school started. Now I still use C/C++ for my games, I never took a real class so my code isn't pretty/efficient, but I have fun while coding.
oh thats nothing .the expression goes something like this: a=(++x)+(x++),now here x is initially 10, what I want to ask is the outcome of this expression. It would be also good if you can give me any information about postfix and prefix operations like their precedence and other facts,I really find it difficult to calculate when such expressions are used in a class I don't know but I think that is it true that at someplaces the value of such expression changes due to "change in instance",I have such change in values when they are used in a class.
prefix changes the value of the variable before the expression is calculated, postfix changes the value of the variable after the expression is calculated.
So in the example a=(++x)+(x++) with x=10, first, the value of x is incremented by the ++x. So x = 11. a = 11 + x++. The x++ increments x after the expression, so a = 11 + 11 = 22. x is now 12.
Now personally, I wouldn't write code out like that unless I was in a rush, because that just confuses other people who'd read it. This type of devilish code belongs to schools and obfuscation contests.
Its weird but sometimes when you hit the forums or roster button on my flash banner it will load:
www.childrenofconan.trap17.com/index.html instead of what its suppost to. It works fine, but if you
mess around and click the buttons for a little bit you will notice this happening. This is a problem
because people visiting the site will sometimes click the button once and be like oh I guess the
link is broken and never come back, if anyone has a solution to what could be the problem it would
be awesome. This is one of my first custom flash banners and im just confused what....
I am a jock, I'm man enough to admit it. I'm one of the big strong men on campus. I've
never had a problem asking out, flirting, or approaching girls. Unless it comes to this one girl.
I've known her since 8th grade and fell in love with her the first time I saw her. After I got
to know her a little more she turned out to be even more amazing. But, she isn't the same as
most girls when it comes to giving off signals. I don't think she has ever even gone out with
anyone, so I don't want to come on overly strong and just skip dating and t....
This strange issue has been happening to me recently. I notice that when I shut down my computer,
and then start it up the next time, the time and date of my computer remains the same as that of the
time and date that I shut down my computer, and it continues from that time and date until I adjust
it manually myself. For example, if I shut down my computer on 3 May 2008, 10pm, even when I switch
on my computer on 4 May 2008 9am, the date and time shows 3 May 2008, 10 pm. I don't understand
why, I did not automatically synchronize it with an internet server, and I....
Okay I see a lot of chaos all around and my site zoebelkin.co.cc is still down. Everything including
FTP, CPanel etc are down. My site is on the gamma server. I see that all the servers are moved
around a lot and the IP blocks also changing. So what is the new IP set for 'gamma'. When
doing a reverse check on gamma I see it is still assigned to it's previous IP but when I'm
trying to access the previous IP's port 80 then I get a Server not found error. Also the
gamma.xisto.com name for the server fails to open the default Apache page which it used to ....
There are many softwares which need internet connection, and there is a problem. The program itself
does connect to the internet at my home and different places, but not at my University! So, how
can I force this program ti be connected to the internet. The thing is the internet is present, but
the program, somehow, can not find it. List all the ways!!!....
I was doing a mok exam for my R.S. GSCE (Religous Studies) and it was the paper from the previous
year i think. Then a question came up "the amount of religion in the is proof god exists, do you
agree? give reasons for both sides of this argument" So whats the problem, the problem is it is
logically impossible to argue both sides Why? : Proof means something that establishes something a
true or factual beyond all arguable doubt. So if i were to argue that it is proof for why God
exists, which i wouldnt because it isnt, for me to argue that it isnt proof would make t....
Trying to set up a "skeleton" form generated with Frontpage 2000. After installing Frontpage
Extensions, when I hit Submit on the form I get this response: *-*-* :-| :^| :-/ :-( 8-( *-*-*
* status=1 * osstatus=0 * msg=FrontPage security violation. * osmsg= I'm new at
this, and don't understand any of the above response. Please explain the above stuff and suggest
how to fix it. Thanks, Jack Here's the brief code: <!--webbot
bot="SaveResults" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/CS....
Hi, My system specs are as follows: QUOTE Processor : Intel Core 2 Quad Q6600 @ 2.4 GHz
Motherboard: nVidia 650i Ultra RAM : 2 GB GfxCard : XFX 8600 GT (512 MB) Problem is all of my
nVidia component are now managed by a single Control panel - nVidia Control panel and it doesn't
show any tab for graphic's card temperature. I want to know the temperature of my graphics
card. does any body know any software for this ?? or at least a work around ? thanks /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
Hey Guys Roooss here, just found this site community looks kewl! hope to be a decent part of
the dev community and am keen to get involved with some projects. am a web developer for an SEO
company have great knowledge in php css sql etc. also a java developer and dable in c# every now
and then. also love the *nix platform...who doesnt? but anyway anyone ever wants to contact me
feel free!....
Hello everyone I have a problem with my new pc: my card the 8500gt 512mb graphics ... Game
slow-loading computer freezes, when I launch a video: message (the display driver NV4_disp not
working properly) + blue screen, reboot. My configuration: QUOTE -- Lg_95c abit motherboard.
-- Dual Core 3.4 GHz -- PSU 300w -- 2 gbs ddr2 ram (no problem with memtest) -- NVidia graphics
card 8500gt 512mb As recommended by Trap17, use an online translator if you don't speak
English well. http://translate.google.com/translate_t?langpair=fr|en ....
Hi, I am having some serious problems with my sub domains. I registered a site with trap17 named
http://zoebelkin.co.cc . Then I made 2 sub domains for the site. One is for the forums section
and the other is for the gallery section. 1> forums.zoebelkin.co.cc 2> gallery.zoebelkin.co.cc
Whenever I type these in the browser adress bar the browser gives an output that it cannot find the
web sites. But they are complete and should show something. Also using www. in front of the sub
domains didn't help. Is www. needed in front of the sub domains. Could you just....
I'm an American, and I've been out of "the system" for over a decade. I can't be
officially employed, because it would generate income tax. The tax would be automatically withheld
from me, and go towards subsidizing lovely things like human torture, war atrocities, warrant-less
domestic wiretapping, and general treason and inhumane practices. So, I'm left to work under
the table. This has hit me pretty hard, and now I have a ton of cavities I can't pay to have
filled. If left unchecked, this will soon kill me slowly and painfully. So as I'm ....
I wanted to make this a Subforum but didnt know how so I posted this here. I have been a diabeteic
for about 25 yrs. I am now on the inslin pump which seems to be working well. I was basically
wanting to know if there are otheres diabetices that use the pump or discuss any other ways others
could share to help other diabetices control ther sugar levels.....
I have been working with RPG Maker 2003 and I have run into a problem. When I open the BMG tab I
try to listen to music. However, when I click play nothing happens. I have the Rtp file with the
standard midis in it. But they just wont play. The WAV files included do play. The only way they
seem to play is if I put all of the files into my windows media player. Once the first song has
played and as long as the player is running I can listen to songs via the RM2K3 program. However,
if I stop the player or mute the player I can't hear them on the program. I'....
here....i think i know the problem...but i cant find the solution.... I use windows XP SP 2 ...Asus
motherboard.. I use integrated Ethernet port (NVIDIA nforce controller) to connect to the hostel LAN
and used the same connection to get internet (using proxy). I played counter-strike without any
problem... Everything worked fine until i took a direct ADSL internet connection... So i installed
a separate ethernet card (INTEX rtl8139D) which i use to connect to the internet... So now i have
two LAN ports ...one for internet and one for LAN... The problem is...i cant con....
this is the message i recieve... "The e-mail account xxxxxxxx@ wildcatexotics.com with the login
Sorry, you have exceeded the maximum allowed email accounts. and password xxxxxxxx with a quota of
unlimited megabytes was successfully created." can an admin please help me with this issue?....
I am a average built, Indian, Male, aged 20 person. I have a very serious problem with the
dandruff. It comes back within an hour after taking a head bath. It is bothering me a lot. It is
very itching and really irritating. I have tried applying lemon on my head but in vain. The dandruff
still comes back. My mom advised me not to apply lemon too much on head so I have stopped applying
that also on head. I went to a doctor and he asked me to shampoo hair with a medicated shampoo
called SELSUN. But still the dandruff problem is lasting and with no effect with the medic....
Okay who else has watched the movie Love Actually??? I for one absolutely adore the
movie!!!!! Its so humourous and yet so sad the way some people never get a good
Christmas and yet on the other side of town the Prime Minister(Hugh Grant ) is having a party in
full swing!!! Its got that Britishness that I just love AND its got Bill Nighy in it
(AND he sings!!!!!) with some other people that i think are simply great actors
such as Hugh Grant, Colin Firth and more... Also I think that all of the stories in it are so g....
Well everyone, this is a brand new sub-forum and I decided i would start a topic that would be an
overall topic for the whole sub-forum. So, what would you guys say for this site? Why did you vote
what you did above? My recent activity there has given my this impression: It's a good site,
but so far the programs i have seen there are not all that great. The idea is a superb one though. I
think if they start to get some better programs on there i might use it more. If you have never
gone there go there now and see what programs there are. Download that programs and....
Recently my DVD drive was playing everything, today i put a dvd disk in, it says nothing comes up
with no auto play or nothing loads at all. so i go to my computer and load from there, it dont load.
It says please insert disk... Im like WTF so i put a cd disk in and the same exact thing happened. i
tried about 7 different disks including cd and dvd disks and burned ones too. Nothing at all, So i
go to google and check around for tuts on fixing this, it gives me this registry thing. Like delete
lowerfilter and upperfilter in this folder. I do it, Still nothing happens, so....
What does it mean when I get the error QUOTE two or more data types in declaration of (function
name) It's almost the exact same as a function I have in another program that compiles and
works fine. Also, can someone explain malloc or give me a tutorial? Like where and how you use it,
and if there are any restrictions to where you can use it. Shortened topic title to fix page
distortion on the home page. Edit: Made new title make sense >_> ....
i'd like to know which message i had not been seen, so i searched the manual and fid 2 flags
says Unseen == 'U' || Recent == 'N' mean. but i don,t understand what does Unseen ==
'U' || Recent == 'N' mean(what he mean by flags )? i want to check if the
message is not seen, so how to do that? i tried CODE $inbox =
@imap_open("{mail.mysite.com:110/pop3}",
"".$_SESSION['SESSION_USER_NAME']."+".$_SESSION['S
ESSION_MAIL_HOST']."", $_SESSION&....
I have the Sims 2. I tried to install Sims 2 Nightlife expansionpack. He reches 100 % with
installing the game...then he automatically run the updat for the sims 2. But when he's going
trough the files he stops st the file: CSBin/package.exe He says there is a error, and then when I
click ok, install terminates and goes back from 100% to 0%. Can anybody tell me what's going
wrong here? Has anyone else had this problem? I just can't figure it out. And on the internet I
found a few people who had the same problem but just havent had an solution for it yet. Ca....
While looking for help on the 2003 edition, I could NOT find any sites that covered one-time events
or displaying your character name. I'll put this into context if it helps. The hero starts in
a house, with a pile of jewels on the table. I made an event where he can 'talk' to the
jewels, and gains 5 currency. I WANT this event to happen only once, but he can keep talking to the
jewels again and again. So, is there a way to make the jewels dissapear after use? After he steps
out of his house, he heads south and meets a little girl on the coast. She asks h....
Hello, I have a question to ask since the 1st day of my download of firefox ... Whenever i open a
pdf file online using firefox, the firefox is get not responding and my comp got hanged ... i have
to manually end the firefox program via windows task manager .. I tried to wait the pdf to load, but
it seems that it takes forever .. so im guessing it's the trail version's bug .. but after a
few updates, I still have the problems with my firefox ... Is this my computer's problem or
firefox problem ? If it's a firefox bug, it's impossible that no1 report ....
Does anybody know how to get to the betting shop because i cant find it anywhere. i have been told
that it is on the first island, but where? all of my friends have got loads of money but i have only
got a couple of hundred and i really want to buy a new house and upgrade my lowrider car Please help
me quickly. Modified topic title and description to fit forum rules. ....
Hello, Look at the code given below CODE void fun(void) { /* Put your code here so
that main does not print 20 */ } int main() { int i = 20; fun();
printf("i = %d\n", i); return 0; } 1. You are allowed to put your code
ONLY in fun. 2. You are not allowed to change even one character in main. 3. You should not use
functions like exit(),abort() in the function fun. How do I manipulate and change the value of i?
Have fun.......
Looking for c, general, discussion, problem, c, discused
Searching Video's for c, general, discussion, problem, c, discused
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.