dear All, Just wondered if one knows how to use an array in enum. this would be more convenient then 100 diffreent variables. many thanks, Dominik
dkoder
Posts
-
array in enum? -
directX documentation & directX graphdear All, a) downloaded and installed the latest directX sdk for c# yesterday. however, discoffered that the documentation is only for c++ although c# is mentioned on the download website. is there a c# directX doc? b) i want to make an application showing loads of bars (bit like a bar chart). what is the best fucntion to do this in directX c#. i was looking at vertex stuff, but i think it's a bit of an overkill for say 256 bars - output of an FFT) many thanks, Dominik
-
calculation during compile timehello! could someone please point out how I can tell the compiler to calculate (say a sin wave lookup table) during compile time? many thanks in advance, Dominik
-
beginner: array --> functionthanks Daniel, i am already aware of the garbage collection and memory management. however, is there not a more efficient way to pass arrays to a function??? a pointer takes 4 bytes, whilst my 1k array of a class using doubles takes much more memory. thanks, Dominik
-
beginner: array --> functionhello!!! looked on the net but couldn't find an answer yet.... in c++ i used pointers to hand an array over to a function. what is the equivalent in c#? say i want to pass a simple int[]. how does it work with >return<. so far i declered an array in the class as private, similar to a global variable. however i don't think this is the way forward. many thanks in advance, Dominik