Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
65% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
5 Commented Posts
1 Endorsement
Ranked #857
Ranked #1K
~36.4K People Reached
Favorite Tags
Member Avatar for Duki
Member Avatar for MooGeek

i think he asks more or less personal experiences from other countries,cause he isnt satisfied for his,if he was he wouldnt make that question :D

Member Avatar for stultuske
0
387
Member Avatar for ntrncx

I know that there is a sticky thread and i know that maybe i repeating things that already mentioned but i am totally confused. I am interested to study about game programming,i don't study i bought a book and i am near to finish it about c++. i goggled and …

Member Avatar for Dman01
0
178
Member Avatar for ntrncx

i try to understand how it works. its supposed to work but isnt. the following code shouldnt be working?what i do wrong? i receive the constructor values. [CODE]#include "Person.h" #include <iostream> #include "fstream" #include "cstdlib" using namespace std; int main() { fstream file("malakia.dat", ios::out | ios::in | ios::binary); Person data; …

0
111
Member Avatar for ntrncx

hey all i am studying from a book,and i have to do an exercise. i dont want code or anything i want tip or someone explain me how to do it. i have a oldmast.dat file with some records a trans.dat file with records and i have to update the …

Member Avatar for ratatat
0
731
Member Avatar for UNDER-18 FG
Member Avatar for ntrncx

i do an exercise and i have 2 questions. the exercise is to take an array example from my c++ book and make it template. for start my code is this: [CODE]#include <iostream> #include <iomanip> #include <cstdlib> #ifndef ARRAY_H #define ARRAY_H using namespace std; template<typename T,int elements> class Array { …

Member Avatar for ntrncx
0
154
Member Avatar for ntrncx

I do an exercise and i wrote this code to test templates [CODE]#include <iostream> #include "Date.h" #include "Time.h" using namespace std; template <typename T> bool compare(T first,T second){ if (first==second) return true; else return false; } template <class T,class X> bool compare(T first,X second){ if (first==second) return true; else return …

Member Avatar for ntrncx
0
219
Member Avatar for ntrncx

1) what exactly is the difference in a constructor if you put reference on it? example[CODE]ConstructorX(string first):firstName(first)[/CODE] with [CODE]ConstructorX(string &first):firstName(first)[/CODE] 2) [CODE]const Array &operator=(const Array&)[/CODE] the first const what exactly means?the const in the parenthesis is that the object is constant if its at the end means the function cannot …

Member Avatar for dospy
0
224
Member Avatar for ntrncx

i am fixing something and i have that fuction in it [CODE]bool DeckOfCards::checkFlush(const Card checkCards) { counter=0; cardCheck=" "; for(int x=1;x<5;x++) { cardCheck=checkCards.suits[x]; for(int y=0;y<5;y++) { found=hand[y].find(cardCheck); if(found!=string::npos) { counter++; } } if(counter==5) { return true; } counter=0; } }[/CODE] it goes here: [CODE]bool result=false; if((result=checkFlush(checkCards))==true) { return winner=5; }[/CODE] …

Member Avatar for ntrncx
0
152
Member Avatar for ntrncx

how i can pass inside a vector an array? i know how to do it without classes but i don't know how to do it with constructor. i try to create a 2nd constructor that takes array of integers and the size of array and initialize a vector. header [CODE]#ifndef …

Member Avatar for ntrncx
0
142
Member Avatar for wackytechie
Member Avatar for NIPHZ
0
4K
Member Avatar for Portgas D. Ace

[QUOTE]There are many internet browsers the most popular being; Firefox, Internet Explorer, Google Chrome, Opera and Safari. However there is no point trying to convince someone on which browser is better, when the choice is simple, [/QUOTE] i was expecting to read something like...its matter of choice and what everyone …

Member Avatar for Portgas D. Ace
0
502
Member Avatar for WASDted

i dont care if bin laden is dead or any one else.As i see it,USA and bin land is the same thing... Both kill both attack both destroy...each one for his own reasons... Bin laden was doing it for religion or i dont know,USA for oil and money... and i …

Member Avatar for Agilemind
3
546
Member Avatar for newsguy

i know who he-man is :p but that question doesn't have much of a meaning. i don't believe that there is a model for average gamer,or if it was changes with the years(i think)There are so many environmental facts that can change the model,depends the country,family,school and many more. i …

Member Avatar for JackRT
2
590
Member Avatar for khubaib007
Member Avatar for Josue198s
0
63
Member Avatar for jingda

[url]http://www.livescience.com/13359-alien-earths-planets-sun-stars.html[/url] 2 billions only in the milky way galaxy pfff no big deal :p

Member Avatar for predator78
0
248
Member Avatar for Ancient Dragon

i am not american,the only reason that i checked that thread is to see if anyone will say the bush was good :p cause as everyone clearly knows 9/11 was inside job with facts and iraq was set up for oils etc,actualy the last years at least i dont think …

Member Avatar for e-papa
1
326
Member Avatar for skald89
Member Avatar for mrnutty

my opinion is in this documentary... zeitgeist watch first part about religion 2nd and 3rd is about nine eleven and banks. [url]http://vimeo.com/13726978[/url] actualy the documentary prooves that all religions have a base the sun... why 25 of december?why 1 star?why 3 mages follow it and many more... for example who …

Member Avatar for crunchie
0
864
Member Avatar for sergent

confused you want to have a variable integer with number 4234 and take each digit separately? if yes why you dont use modulus and division?

Member Avatar for mrnutty
0
201
Member Avatar for moey187

it became too classic :P which one you cant finish and want help?cause i assume you started them and you had trouble in the proccess,am i right?

Member Avatar for ntrncx
0
550
Member Avatar for Awilson089

you know that in c++ you cant use " & " alone for the "and" purpose right? try " && " thats the "and" or try " || "

Member Avatar for Awilson089
0
101
Member Avatar for GhostMonkey

if think you need to add more limits. you check for a value but you also need to check if its inside the borders. like [CODE] if (array[i][j] == value && array[i][j] <= limit//for example[/CODE] you have to create the limit for all the 4 sides

Member Avatar for GhostMonkey
0
91
Member Avatar for sha11e

i am not sure but i think you willhave 3 decimals points until you put again setprecicion. if you put later seprecision(5) will be from that line and down with 5, i repeat i am not sure,just that sounds logical to me :P and about the setprecision(50) try it :D …

Member Avatar for sha11e
0
3K
Member Avatar for The Dude
Member Avatar for ntrncx

hey again i do that problem from my book, worked but i am pretty sure is not the exhaustive technique that book is asking cause i didnt have success and was too fast. i tried a counter and do 64x64 loops or 4096 loops. so my question cause i couldnt …

Member Avatar for template<>
0
202
Member Avatar for errorlog2
Member Avatar for LloYdZ
Member Avatar for harinath_2007

there are many IDE visual studio express,netbeans,eclipse much more,google and choose the one that suit ebtter to you. visual studio is the most standard choice even with the bad text editor that it has :P

Member Avatar for mike_2000_17
0
251