Ho un file .cpp dove c'è questo metodo:
DownlinkPacketScheduler::RBsAllocation ()
Come faccio a richiamarlo nel file .h in modo che io possa scegliere il numero di RBs (che è un numero intero)?
[c++] Richiamare metodo in .h
- vaeVictis
- Imperturbabile Insigne

- Messaggi: 4703
- Iscrizione: venerdì 27 luglio 2012, 17:58
- Desktop: Gnome
- Distribuzione: Ubuntu 20.04 64bit
Re: [c++] Richiamare metodo in .h
In che senso? Non sei stato molto chiaro.
Puoi produrre un esempio di codice di quello che vuoi fare, o spiegare meglio cosa intendi per "richiamare"?
Puoi produrre un esempio di codice di quello che vuoi fare, o spiegare meglio cosa intendi per "richiamare"?
Pirates arrrrrrrrrrr awesome!!!
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
«I fear not the man who has practiced 10000 kicks once,
but I fear the man who has practiced one kick 10000 times.»
Re: [c++] Richiamare metodo in .h
Voglio dire andare nell'header e impostare RBsAllocation a un certo valore numerico intero.
Ho inserito gli allegati
Ho inserito gli allegati
- Allegati
-
single-cell-with-interference.h- (17.27 KiB) Scaricato 15 volte
-
bandwidth-manager.cpp- (9.84 KiB) Scaricato 14 volte
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti