i tried what you said, and i made a copy, but now everytime i run it, it just says my phrase has 50 letters in it(which is the number of elements in both arrays]
if you could post some working...
Type: Posts; User: tetraflare
i tried what you said, and i made a copy, but now everytime i run it, it just says my phrase has 50 letters in it(which is the number of elements in both arrays]
if you could post some working...
im writing a program that tokenizes a sentance and then tells how many letters / punctuation marks are in the sentance.
my problem lies where i try to count the letters. when ever my program hits...
i dont know if windows programming is actually my problem, i just finished classes in c++ do you think thtas enough to know to dive into directX or even opengl?
i know a fair chunck of c++ and this book , Beginners guide to DirectX Game programming sounded promising for the first 50 or so pages then like a ton of bricks they hit me with all this windows...
say i wanted to store a phrase in a string, tokenize it , and run the words through a counter to see how freqently the numbers of the letters in the words appear.
for intstance
say i entered...
no problem ;)
#include <iostream>
using namespace std;
#include <windows.h>
int alpha[26];
char alpha[26]="abcdefghijklmnopqrstuvwxyz";
char phrase[50];
just wonder if there is any real use for tokens, we are learniing them in class now and i was just wondering if splitting up a word or a group of numbers can actually be useful :) i am a L337 n()()b...
no this is my first programming language, except ultima online scripting which first fueled my desire for c++. im trying hard, i just need someone to help me on a bit... and its not that i m...
hi all, unfortuantly, i myself, cannot learn this complex language, this is really what i want to do when i get older too, i spend about 3 hours on it each night, and alas i come up empty, ive bought...
why not post answers to people who will have future questions.... sorry im bored :)
#include <iostream>
using namespace std;
int arraybox[40][40];
hi all, i tried following the instuctions at...
http://www.allegro.cc/docs/windows-msvc-use.html
i thought i did ok.... but at the end it says i need to
Checkmark the "Enable...
i just finished those, im looking for something a bit more challanging... im really thankful for all of you who helped me out over this first semester ( prelude Stoned Coder , many more, Magos ,...
i think i just got pointers down, and i need practice :)
does anyone know any pointer problems for me to wrok through?
someone help
i get that quite well, its just i dont know how to incoorperate it into my code...
please anyone help is appreciated im really stuck on this :(
unfortuantly the numbers have to stay, thats the only way i know how to make ascii characters.
the actual goal of this program to make the maze reach the end in the shortest amount of steps...
ok now i have a serious question... on my maze ( posted below)
i need to have the maze tracel to the end in the FASTEST possible path... ( how would i make a pointer to do this...or do i even...
ok now i have a serious question... on my maze ( posted below)
i need to have the maze tracel to the end in the FASTEST possible path... ( how would i make a pointer to do this...or do i even...
woah dude what ever your tokin off of get me some! there are way way more than 127, try making a program that prints out all the ascii chars. form 0 to 255 thats right pal, 255....... yeh.....
wow thanks. i appreciate it, and i thankyou for being patient with me, i didnt realize it was such a deep algorithm :) ah well time to read that! :)
ok sorry i see im new to programming, sorry if i confused any 1 :(
but the fact remains, how is it possible to make it move to the end in the shortest distance?
sorry i was kinda on the fly here it is :)
btw 177 = the ascii character used for my walls.