Type: Posts; User: willmotil
Search took 0.01 seconds.
July 23rd, 2014, 06:35 PM
this block of code repeatedly prompts the user for a password
until he enters the exact word "basic"
the shown calls indicate a winforms application
or a application that is using...
July 22nd, 2014, 10:58 PM
well im glad it helps
your second example is good too
so basically now you have two examples that do the same thing
the only difference is the idea or strategy you used for the task
July 18th, 2014, 10:29 PM
c# takes much from java and c++ object instantiation works like any other language
this is not perfectly exact but
perfectly fine to think of it like this in a basic use manner
July 18th, 2014, 09:40 PM
you dont have to use methods your example is perfectly fine
these are all just extra tools for you to use when you need them.
even the idea's themselves are tools, you can look up "c# programing...
July 18th, 2014, 07:56 PM
remember even main is a method, so your almost always in a method anyways
anyways there are signs to when your not doing it and you really should typically
when you feel like some method is too...
July 18th, 2014, 04:04 PM
this is the change i made i took the two while loops and condensed that using
a method that generalized what was being done, (this shrinks our code further)
now in this way we make...
well i normally stay away from pinvoke questions
as i in general i don't really like to use it.
and though its been a very long time since i played around with c++
don't you have define at...
follow the code blocks logic by the boolean's default state , they are tied together
you can design the while block of code to work assuming success and continue but check for failure then...
June 28th, 2014, 05:23 AM
forgive me if there is typos i just got a new comp yesterday and i don't have vs installed yet
so i cant double check the code to give output
a private dictionary or array of delegates would...
June 27th, 2014, 03:22 PM
well im not clear on your exact intent so ill give 2 answers
as well as a link you might want to bookmark
if you look on the left side of the page or scroll down you'll see many useful examples...
June 24th, 2014, 02:53 AM
wait are you trying to make a environmental reflection map
it seems like your trying to do it backwards normally you already have a picture
you also map or give your vertices texture...
June 24th, 2014, 12:53 AM
this is unclear ,
what exactly are you attempting to do ?
are you undertaking a tutorial or trying to teach yourself by attempting a task here.
orthographic projection vs perspective...
June 24th, 2014, 12:20 AM
never had a programming job its just a hobby for me
very interesting though i didn't know that , i wouldn't of guessed that to be a problem
June 23rd, 2014, 12:46 AM
well i was bored and i wrote this and then a modification out for your example i used the [flags] enums
left in your example exercise notes and just coded around them
you can probably see how it...
June 22nd, 2014, 08:03 PM
Edited: to break down the whole thing into its basic parts
i wanted to point out also that in the context of the example
if you just modify that method a little bit in the first place , it might...
June 22nd, 2014, 03:07 AM
i mean for if else
i dunno i see a lot of people do it
at first i thought so as well , but the more i c it the more i like it
June 22nd, 2014, 02:18 AM
this is not homework right, and that's the books code or yours
this is just what a exercise in a teach yourself c# book is saying to do ?
June 22nd, 2014, 12:32 AM
i really do not like this example
if this is from a learn c# book for beginners id be a little disappointed
this nearly amounts to a trick question
1) there are many ways to deal with this but...
June 18th, 2014, 03:57 AM
one line only after if or else i like no braces
more then two lines i like the braces on separate lines
but the real question is were do you like your )( when there is a lot of parameters
June 18th, 2014, 03:19 AM
too bad i never got far in school
this is why i hate advanced math stuff tons of symbols different meanings very unstrict
programing seems so clear and clean compared to that...
from my algebra...
June 18th, 2014, 02:53 AM
just to throw in some info
Dijkstra who can even pronounce that
Dijkstra isn't Dijkstra once you weight it. ,its really more of a flood fill type algorithim anyways
typically its not used for...
June 18th, 2014, 01:56 AM
Thanks for the link ArJay i used the activator create object to get a free method
though i don't know how yet to check , if there is actually a public constructor on the type
i was stuck for a...
June 17th, 2014, 05:59 AM
ok so i was trying to get basically all the variables of a class into
into a list or array of strings thru reflect then do more stuff
but im stuck there, trying to get the name of a class feild...
June 15th, 2014, 06:26 AM
k so i did a little looking around on this Microsoft.office.businessApplication ...
June 14th, 2014, 01:11 AM
these types of errors may be because of a corrupted config file
it also could be if you are using MS Visual Studios and added a file
or you wrote one and added it to your solution but... didn't...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.